55 branches :
66 - master
77 tags : ' *'
8+
9+ concurrency :
10+ # group by workflow and ref; the last slightly strange component ensures that for pull
11+ # requests, we limit to 1 concurrent job, but for the default repository branch we don't
12+ group : ${{ github.workflow }}-${{ github.ref }}-${{ github.ref_name != github.event.repository.default_branch || github.run_number }}
13+ # Cancel intermediate builds, but only if it is a pull request build.
14+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
15+
16+ # needed to allow julia-actions/cache to delete old caches that it has created
17+ permissions :
18+ actions : write
19+ contents : read
20+
821jobs :
922 test :
1023 name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -24,24 +37,15 @@ jobs:
2437 arch :
2538 - x64
2639 steps :
27- - uses : actions/checkout@v2
28- - uses : julia-actions/setup-julia@v1
40+ - uses : actions/checkout@v4
41+ - uses : julia-actions/setup-julia@v2
2942 with :
3043 version : ${{ matrix.version }}
3144 arch : ${{ matrix.arch }}
32- - uses : actions/cache@v1
33- env :
34- cache-name : cache-artifacts
35- with :
36- path : ~/.julia/artifacts
37- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
38- restore-keys : |
39- ${{ runner.os }}-test-${{ env.cache-name }}-
40- ${{ runner.os }}-test-
41- ${{ runner.os }}-
45+ - uses : julia-actions/cache@v2
4246 - uses : julia-actions/julia-buildpkg@v1
4347 - uses : julia-actions/julia-runtest@v1
4448 - uses : julia-actions/julia-processcoverage@v1
45- - uses : codecov/codecov-action@v1
49+ - uses : codecov/codecov-action@v5
4650 with :
4751 file : lcov.info
0 commit comments