Skip to content

Commit ab624e4

Browse files
authored
Update CI to 5.6 release and checkout@v3 (#269)
1 parent c72516d commit ab624e4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- swift:5.2
1111
- swift:5.3
1212
- swift:5.5
13-
- swiftlang/swift:nightly-5.6
13+
- swift:5.6
1414
- swiftlang/swift:nightly-main
1515
swiftos:
1616
- focal
@@ -20,11 +20,11 @@ jobs:
2020
LOG_LEVEL: debug
2121
steps:
2222
- name: Check out package
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2424
- name: Run unit tests with code coverage and Thread Sanitizer
2525
run: swift test --enable-test-discovery --filter=^PostgresNIOTests --sanitize=thread --enable-code-coverage
2626
- name: Submit coverage report to Codecov.io
27-
uses: vapor/swift-codecov-action@v0.1.1
27+
uses: vapor/swift-codecov-action@v0.2
2828
with:
2929
cc_flags: 'unittests'
3030
cc_env_vars: 'SWIFT_VERSION,SWIFT_PLATFORM,RUNNER_OS,RUNNER_ARCH'
@@ -47,7 +47,7 @@ jobs:
4747
dbauth: md5
4848
- dbimage: postgres:11
4949
dbauth: trust
50-
container: swift:5.5-focal
50+
container: swift:5.6-focal
5151
runs-on: ubuntu-latest
5252
env:
5353
LOG_LEVEL: debug
@@ -84,15 +84,15 @@ jobs:
8484
POSTGRES_INITDB_ARGS: --auth-host=${{ matrix.dbauth }}
8585
steps:
8686
- name: Check out package
87-
uses: actions/checkout@v2
87+
uses: actions/checkout@v3
8888
with: { path: 'postgres-nio' }
8989
- name: Run integration tests
9090
run: swift test --package-path postgres-nio --filter=^IntegrationTests
9191
- name: Check out postgres-kit dependent
92-
uses: actions/checkout@v2
92+
uses: actions/checkout@v3
9393
with: { repository: 'vapor/postgres-kit', path: 'postgres-kit' }
9494
- name: Check out fluent-postgres-driver dependent
95-
uses: actions/checkout@v2
95+
uses: actions/checkout@v3
9696
with: { repository: 'vapor/fluent-postgres-driver', path: 'fluent-postgres-driver' }
9797
- name: Use local package in dependents
9898
run: |
@@ -137,7 +137,7 @@ jobs:
137137
pg_ctl start --wait
138138
timeout-minutes: 2
139139
- name: Checkout code
140-
uses: actions/checkout@v2
140+
uses: actions/checkout@v3
141141
- name: Run all tests
142142
run: |
143143
swift test --enable-test-discovery -Xlinker -rpath \

0 commit comments

Comments
 (0)