@@ -31,46 +31,39 @@ jobs:
31
31
arch :
32
32
- x64
33
33
steps :
34
- - uses : actions/checkout@v2
34
+ - uses : actions/checkout@v4
35
35
- uses : julia-actions/setup-julia@v2
36
36
with :
37
37
version : ${{ matrix.version }}
38
38
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
49
40
- uses : julia-actions/julia-buildpkg@v1
50
41
- uses : julia-actions/julia-runtest@v1
51
42
- uses : julia-actions/julia-processcoverage@v1
52
- - uses : codecov/codecov-action@v1
43
+ - uses : codecov/codecov-action@v5
53
44
with :
54
- file : lcov.info
45
+ files : lcov.info
46
+ token : ${{ secrets.CODECOV_TOKEN }}
55
47
docs :
56
48
name : Documentation
57
49
runs-on : ubuntu-latest
58
50
steps :
59
- - uses : actions/checkout@v2
51
+ - uses : actions/checkout@v4
60
52
- uses : julia-actions/setup-julia@v2
61
53
with :
62
54
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)
74
67
- run : julia --project=docs docs/make.jl
75
68
env :
76
69
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments