Skip to content

Commit 1618189

Browse files
authored
Update GitHub CI for Swift 5.3 (#39)
1 parent 816db7e commit 1618189

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,21 @@ jobs:
1616
images:
1717
- swift:5.1
1818
- swift:5.2
19+
- swiftlang/swift:nightly-5.3-bionic
1920
container:
2021
image: ${{ matrix.images }}
21-
volumes:
22-
- $GITHUB_WORKSPACE:/src
23-
options: --workdir /src
2422
steps:
2523
- name: Checkout
26-
uses: actions/checkout@v1
27-
with:
28-
fetch-depth: 1
24+
uses: actions/checkout@v2
2925
- name: Test
3026
run: swift test --enable-code-coverage --enable-test-discovery
3127
- name: Convert coverage files
3228
run: llvm-cov export -format="lcov" .build/debug/pure-swift-jsonPackageTests.xctest -instr-profile .build/debug/codecov/default.profdata > info.lcov
29+
- name: Install curl
30+
run: apt-get update && apt-get install -y curl # required by the codecov action.
3331
- name: Upload to codecov.io
34-
uses: codecov/codecov-action@v1.0.3
32+
uses: codecov/codecov-action@v1
3533
with:
36-
token: ${{secrets.CODECOV_TOKEN}}
3734
file: info.lcov
3835

3936
"tuxOS-Performance-Tests":
@@ -43,11 +40,9 @@ jobs:
4340
images:
4441
- swift:5.1
4542
- swift:5.2
43+
- swiftlang/swift:nightly-5.3-bionic
4644
container:
4745
image: ${{ matrix.images }}
48-
volumes:
49-
- $GITHUB_WORKSPACE:/src
50-
options: --workdir /src
5146
steps:
5247
- name: Checkout
5348
uses: actions/checkout@v1
@@ -67,11 +62,9 @@ jobs:
6762
images:
6863
- swift:5.1
6964
- swift:5.2
65+
- swiftlang/swift:nightly-5.3-bionic
7066
container:
7167
image: ${{ matrix.images }}
72-
volumes:
73-
- $GITHUB_WORKSPACE:/src
74-
options: --workdir /src
7568
env:
7669
MAX_ALLOCS_ALLOWED_jsonvalue_to_bytes: 0
7770
steps:

0 commit comments

Comments
 (0)