File tree 2 files changed +10
-14
lines changed
2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 6
6
- release-*
7
7
pull_request :
8
8
types : [opened, synchronize, reopened]
9
+ # needed to allow julia-actions/cache to delete old caches that it has created
10
+ permissions :
11
+ actions : write
12
+ contents : read
9
13
jobs :
10
14
test :
11
15
name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -29,26 +33,18 @@ jobs:
29
33
os : ubuntu-latest
30
34
arch : x86
31
35
steps :
32
- - uses : actions/checkout@v2
33
- - uses : julia-actions/setup-julia@v1
36
+ - uses : actions/checkout@v4
37
+ - uses : julia-actions/setup-julia@v2
34
38
with :
35
39
version : ${{ matrix.version }}
36
40
arch : ${{ matrix.arch }}
37
- - uses : actions/cache@v1
38
- env :
39
- cache-name : cache-artifacts
40
- with :
41
- path : ~/.julia/artifacts
42
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
43
- restore-keys : |
44
- ${{ runner.os }}-test-${{ env.cache-name }}-
45
- ${{ runner.os }}-test-
46
- ${{ runner.os }}-
41
+ - uses : julia-actions/cache@v1
47
42
- uses : julia-actions/julia-buildpkg@v1
48
43
- uses : julia-actions/julia-runtest@v1
49
44
with :
50
45
depwarn : error
51
46
- uses : julia-actions/julia-processcoverage@v1
52
- - uses : codecov/codecov-action@v1
47
+ - uses : codecov/codecov-action@v4
53
48
with :
54
49
file : lcov.info
50
+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 13
13
- uses : julia-actions/setup-julia@latest
14
14
with :
15
15
version : ' 1'
16
- - uses : actions/checkout@v1
16
+ - uses : actions/checkout@v4
17
17
- name : Format check
18
18
shell : julia --color=yes {0}
19
19
run : |
You can’t perform that action at this time.
0 commit comments