File tree Expand file tree Collapse file tree 1 file changed +14
-17
lines changed Expand file tree Collapse file tree 1 file changed +14
-17
lines changed Original file line number Diff line number Diff line change 11name : CI
2+
23on :
34 pull_request :
45 branches :
89 - master
910 tags : ' *'
1011 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+
1118jobs :
1219 test :
13- name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
20+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
1421 runs-on : ${{ matrix.os }}
15- continue-on-error : ${{ matrix.version == 'nightly' }}
1622 strategy :
1723 fail-fast : false
1824 matrix :
1925 version :
20- - ' 1.6'
26+ - ' min'
27+ - ' lts'
2128 - ' 1'
22- # - 'nightly'
2329 os :
2430 - ubuntu-latest
25- arch :
26- - x64
2731 steps :
2832 - uses : actions/checkout@v4
2933 - uses : julia-actions/setup-julia@v2
3034 with :
3135 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
4337 - uses : julia-actions/julia-buildpkg@v1
4438 - uses : julia-actions/julia-runtest@v1
4539 - uses : julia-actions/julia-processcoverage@v1
4640 - uses : codecov/codecov-action@v5
4741 with :
4842 files : lcov.info
43+ token : ${{ secrets.CODECOV_TOKEN }}
44+ fail_ci_if_error : true
4945 docs :
5046 name : Documentation
5147 runs-on : ubuntu-latest
5450 - uses : julia-actions/setup-julia@v2
5551 with :
5652 version : ' 1'
53+ - uses : julia-actions/cache@v2
5754 - run : |
5855 julia --project=docs -e '
5956 using Pkg
You can’t perform that action at this time.
0 commit comments