Skip to content

Commit 76587ea

Browse files
committed
Update CI configuration
- don't force an arch for Julia to use: e.g. macOS runners are on ARM these days, and for a package like this, there seems little to no benefit to test on a 32bit system - update various actions to latest, supported version - use julia-actions/cache for more reliable caching - update codecov-action to current version Warning: for code coverage to work, you'll have to configure a CODECOV_TOKEN on your repository; or else configure the repository for "tokenless" upload. Details are explained on <https://docs.codecov.com/docs/codecov-tokens>.
1 parent 9479418 commit 76587ea

1 file changed

Lines changed: 6 additions & 23 deletions

File tree

.github/workflows/CI.yml

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
- pull_request
55
jobs:
66
test:
7-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
7+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
fail-fast: false
@@ -17,32 +17,15 @@ jobs:
1717
- ubuntu-latest
1818
- macOS-latest
1919
- windows-latest
20-
arch:
21-
- x86
22-
- x64
23-
exclude:
24-
# 32-bit Julia binaries are not available on macOS
25-
- os: macOS-latest
26-
arch: x86
2720
steps:
28-
- uses: actions/checkout@v2
29-
- uses: julia-actions/setup-julia@v1
21+
- uses: actions/checkout@v4
22+
- uses: julia-actions/setup-julia@v2
3023
with:
3124
version: ${{ matrix.version }}
32-
arch: ${{ matrix.arch }}
33-
- uses: actions/cache@v1
34-
env:
35-
cache-name: cache-artifacts
36-
with:
37-
path: ~/.julia/artifacts
38-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
39-
restore-keys: |
40-
${{ runner.os }}-test-${{ env.cache-name }}-
41-
${{ runner.os }}-test-
42-
${{ runner.os }}-
25+
- uses: julia-actions/cache@v2
4326
- uses: julia-actions/julia-buildpkg@v1
4427
- uses: julia-actions/julia-runtest@v1
4528
- uses: julia-actions/julia-processcoverage@v1
46-
- uses: codecov/codecov-action@v1
29+
- uses: codecov/codecov-action@v5
4730
with:
48-
file: lcov.info
31+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)