@@ -31,46 +31,39 @@ jobs:
3131 arch :
3232 - x64
3333 steps :
34- - uses : actions/checkout@v2
34+ - uses : actions/checkout@v4
3535 - uses : julia-actions/setup-julia@v2
3636 with :
3737 version : ${{ matrix.version }}
3838 arch : ${{ matrix.arch }}
39- - uses : actions/cache@v1
40- env :
41- cache-name : cache-artifacts
42- with :
43- path : ~/.julia/artifacts
44- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
45- restore-keys : |
46- ${{ runner.os }}-test-${{ env.cache-name }}-
47- ${{ runner.os }}-test-
48- ${{ runner.os }}-
39+ - uses : julia-actions/cache@v2
4940 - uses : julia-actions/julia-buildpkg@v1
5041 - uses : julia-actions/julia-runtest@v1
5142 - uses : julia-actions/julia-processcoverage@v1
52- - uses : codecov/codecov-action@v1
43+ - uses : codecov/codecov-action@v5
5344 with :
54- file : lcov.info
45+ files : lcov.info
46+ token : ${{ secrets.CODECOV_TOKEN }}
5547 docs :
5648 name : Documentation
5749 runs-on : ubuntu-latest
5850 steps :
59- - uses : actions/checkout@v2
51+ - uses : actions/checkout@v4
6052 - uses : julia-actions/setup-julia@v2
6153 with :
6254 version : ' lts'
63- - run : |
64- julia --project=docs -e '
65- using Pkg
66- Pkg.develop(PackageSpec(path=pwd()))
67- Pkg.instantiate()'
68- - run : |
69- julia --project=docs -e '
70- import Documenter: doctest, DocMeta
71- using LegendrePolynomials
72- DocMeta.setdocmeta!(LegendrePolynomials, :DocTestSetup, :(using LegendrePolynomials); recursive=true)
73- doctest(LegendrePolynomials)'
55+ - uses : julia-actions/cache@v2
56+ - shell : julia --color=yes --project=docs {0}
57+ run : |
58+ using Pkg
59+ Pkg.develop(PackageSpec(path=pwd()))
60+ Pkg.instantiate()
61+ - shell : julia --color=yes --project=docs {0}
62+ run : |
63+ import Documenter: doctest, DocMeta
64+ using LegendrePolynomials
65+ DocMeta.setdocmeta!(LegendrePolynomials, :DocTestSetup, :(using LegendrePolynomials); recursive=true)
66+ doctest(LegendrePolynomials)
7467 - run : julia --project=docs docs/make.jl
7568 env :
7669 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments