5
5
branches :
6
6
- main
7
7
tags : ' *'
8
+ concurrency :
9
+ # Skip intermediate builds: always.
10
+ # Cancel intermediate builds: only if it is a pull request build.
11
+ group : ${{ github.workflow }}-${{ github.ref }}
12
+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
8
13
jobs :
9
14
test :
10
15
name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
11
16
runs-on : ${{ matrix.os }}
17
+ timeout-minutes : 60
18
+ permissions : # needed to allow julia-actions/cache to proactively delete old caches that it has created
19
+ actions : write
20
+ contents : read
12
21
strategy :
13
22
fail-fast : false
14
23
matrix :
@@ -21,24 +30,15 @@ jobs:
21
30
arch :
22
31
- x64
23
32
steps :
24
- - uses : actions/checkout@v2
25
- - uses : julia-actions/setup-julia@v1
33
+ - uses : actions/checkout@v4
34
+ - uses : julia-actions/setup-julia@v2
26
35
with :
27
36
version : ${{ matrix.version }}
28
37
arch : ${{ matrix.arch }}
29
- - uses : actions/cache@v1
30
- env :
31
- cache-name : cache-artifacts
32
- with :
33
- path : ~/.julia/artifacts
34
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
35
- restore-keys : |
36
- ${{ runner.os }}-test-${{ env.cache-name }}-
37
- ${{ runner.os }}-test-
38
- ${{ runner.os }}-
38
+ - uses : julia-actions/cache@v2
39
39
- uses : julia-actions/julia-buildpkg@v1
40
40
- uses : julia-actions/julia-runtest@v1
41
41
- uses : julia-actions/julia-processcoverage@v1
42
- - uses : codecov/codecov-action@v1
42
+ - uses : codecov/codecov-action@v5
43
43
with :
44
- file : lcov.info
44
+ token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments