File tree 1 file changed +14
-17
lines changed 1 file changed +14
-17
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
+
2
3
on :
3
4
pull_request :
4
5
branches :
8
9
- master
9
10
tags : ' *'
10
11
workflow_dispatch :
12
+
13
+ # needed to allow julia-actions/cache to delete old caches that it has created
14
+ permissions :
15
+ actions : write
16
+ contents : read
17
+
11
18
jobs :
12
19
test :
13
- name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
20
+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
14
21
runs-on : ${{ matrix.os }}
15
- continue-on-error : ${{ matrix.version == 'nightly' }}
16
22
strategy :
17
23
fail-fast : false
18
24
matrix :
19
25
version :
20
- - ' 1.6'
26
+ - ' min'
27
+ - ' lts'
21
28
- ' 1'
22
- # - 'nightly'
23
29
os :
24
30
- ubuntu-latest
25
- arch :
26
- - x64
27
31
steps :
28
32
- uses : actions/checkout@v4
29
33
- uses : julia-actions/setup-julia@v2
30
34
with :
31
35
version : ${{ matrix.version }}
32
- arch : ${{ matrix.arch }}
33
- - uses : actions/cache@v4
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 }}-
36
+ - uses : julia-actions/cache@v2
43
37
- uses : julia-actions/julia-buildpkg@v1
44
38
- uses : julia-actions/julia-runtest@v1
45
39
- uses : julia-actions/julia-processcoverage@v1
46
40
- uses : codecov/codecov-action@v5
47
41
with :
48
42
files : lcov.info
43
+ token : ${{ secrets.CODECOV_TOKEN }}
44
+ fail_ci_if_error : true
49
45
docs :
50
46
name : Documentation
51
47
runs-on : ubuntu-latest
54
50
- uses : julia-actions/setup-julia@v2
55
51
with :
56
52
version : ' 1'
53
+ - uses : julia-actions/cache@v2
57
54
- run : |
58
55
julia --project=docs -e '
59
56
using Pkg
You can’t perform that action at this time.
0 commit comments