File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 13
13
fail-fast : false
14
14
matrix :
15
15
image :
16
- - swift:5.0.3-xenial
17
16
- swift:5.1.5-xenial
18
- - swift:5.2.5-xenial
19
- - swift:5.3.2-xenial
20
17
- swift:5.3.2-bionic
18
+ - swift:5.9.2-focal
21
19
container : ${{ matrix.image }}
22
20
steps :
23
21
- name : Checkout Repository
@@ -27,19 +25,19 @@ jobs:
27
25
- name : Build Swift Release Package
28
26
run : swift build -c release
29
27
- name : Run Tests
30
- run : swift test
28
+ run : swift test --enable-test-discovery
31
29
nextstep :
32
- runs-on : macos-latest
30
+ runs-on : macos-13
33
31
steps :
34
32
- name : Select latest available Xcode
35
- uses : maxim-lobanov/setup-xcode@v1.2.1
33
+ uses : maxim-lobanov/setup-xcode@v1
36
34
with :
37
- xcode-version : 12.2
35
+ xcode-version : ' ~15.0 '
38
36
- name : Checkout Repository
39
37
uses : actions/checkout@v2
40
38
- name : Build Swift Debug Package
41
39
run : swift build -c debug
42
40
- name : Build Swift Release Package
43
41
run : swift build -c release
44
42
- name : Run Tests
45
- run : swift test
43
+ run : swift test --enable-test-discovery
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ This is a **standalone project** and has no other dependencies but
14
14
15
15
Apart from the protocol implementation which can encode and decode
16
16
[ RESP] ( https://redis.io/topics/protocol ) (REdis Serialization Protocol),
17
- we also provide a [ Redis client module] ( Sources/Redis/README.md )
17
+ we also provide a [ Redis client module] ( https://github.com/NozeIO/swift-nio-redis-client )
18
18
build on top.
19
19
20
20
What is Redis?
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ open class RESPChannelHandler : ChannelDuplexHandler {
56
56
try parser. feed ( buffer) { respValue in
57
57
self . channelRead ( context: context, value: respValue)
58
58
}
59
+ context. flush ( )
59
60
}
60
61
catch {
61
62
context. fireErrorCaught ( error)
You can’t perform that action at this time.
0 commit comments