File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 benchmark :
66 name : Benchmark
77 runs-on : ubuntu-latest
8+
9+ # needed to allow julia-actions/cache to delete old caches that it has created
10+ permissions :
11+ actions : write
12+ contents : read
13+
814 steps :
9- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v5
1016 - uses : julia-actions/setup-julia@v1
1117 with :
1218 version : ' 1'
19+ - uses : julia-actions/cache@v2
1320 - run : git fetch origin '+refs/heads/master:refs/remotes/origin/master'
1421 - run : git branch master origin/master
1522 - run : |
Original file line number Diff line number Diff line change @@ -11,11 +11,18 @@ jobs:
1111 build :
1212 name : Documentation
1313 runs-on : ubuntu-latest
14+
15+ # needed to allow julia-actions/cache to delete old caches that it has created
16+ permissions :
17+ actions : write
18+ contents : read
19+
1420 steps :
15- - uses : actions/checkout@v2
21+ - uses : actions/checkout@v5
1622 - uses : julia-actions/setup-julia@latest
1723 with :
1824 version : ' 1'
25+ - uses : julia-actions/cache@v2
1926 - name : Install dependencies
2027 run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
2128 - name : Build and deploy
Original file line number Diff line number Diff line change 66 - master
77 pull_request :
88 workflow_dispatch :
9+
910jobs :
1011 build :
11- name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
12+ name : Julia ${{ matrix.julia- version }} - ${{ matrix.os }} - ${{ matrix.julia- arch }}
1213 runs-on : ${{ matrix.os }}
14+
1315 strategy :
1416 fail-fast : false
1517 matrix :
16- version :
17- - ' 1 '
18- - ' 1.6 '
19- os :
20- - ubuntu-latest
21- - macOS-latest
22- - windows-latest
23- arch :
24- - x64
18+ julia- version : ['lts', '1']
19+ julia-arch : [x64]
20+ os : [ubuntu-latest, windows-latest, macOS-latest]
21+
22+ # needed to allow julia-actions/cache to delete old caches that it has created
23+ permissions :
24+ actions : write
25+ contents : read
26+
2527 steps :
26- - uses : actions/checkout@v2
28+ - uses : actions/checkout@v5
2729 - uses : julia-actions/setup-julia@latest
2830 with :
29- version : ${{ matrix.version }}
30- arch : ${{ matrix.arch }}
31+ version : ${{ matrix.julia-version }}
32+ arch : ${{ matrix.julia-arch }}
33+ - uses : julia-actions/cache@v2
3134 - uses : julia-actions/julia-buildpkg@latest
32- - uses : julia-actions/julia-runtest@latest
33- - uses : julia-actions/julia-uploadcodecov@latest
35+ - uses : julia-actions/julia-runtest@v1
36+ with :
37+ coverage : true
38+ - uses : julia-actions/julia-processcoverage@v1
39+ - uses : codecov/codecov-action@v5
40+ # Upload coverage only from one job (Linux, Julia latest version)
41+ if : matrix.os == 'ubuntu-latest' && matrix.julia-version == '1'
42+ with :
43+ files : lcov.info
3444 env :
3545 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments