File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change 11name : CI
2+
23on :
34 pull_request :
45 push :
56 branches :
67 - master
78 tags : ' *'
9+
10+ concurrency :
11+ # Skip intermediate builds: always.
12+ # Cancel intermediate builds: only if it is a pull request build.
13+ group : ${{ github.workflow }}-${{ github.ref }}
14+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
15+
816jobs :
917 test :
1018 name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
1119 runs-on : ${{ matrix.os }}
20+ permissions : # needed to allow julia-actions/cache to proactively delete old caches that it has created
21+ actions : write
22+ contents : read
1223 strategy :
1324 fail-fast : false
1425 matrix :
@@ -27,19 +38,11 @@ jobs:
2738 with :
2839 version : ${{ matrix.version }}
2940 arch : ${{ matrix.arch }}
30- - uses : actions/cache@v4
31- env :
32- cache-name : cache-artifacts
33- with :
34- path : ~/.julia/artifacts
35- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
36- restore-keys : |
37- ${{ runner.os }}-test-${{ env.cache-name }}-
38- ${{ runner.os }}-test-
39- ${{ runner.os }}-
41+ - uses : julia-actions/cache@v2
4042 - uses : julia-actions/julia-buildpkg@v1
4143 - uses : julia-actions/julia-runtest@v1
4244 - uses : julia-actions/julia-processcoverage@v1
4345 - uses : codecov/codecov-action@v4
4446 with :
4547 file : lcov.info
48+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments