File tree Expand file tree Collapse file tree 4 files changed +50
-22
lines changed
Expand file tree Collapse file tree 4 files changed +50
-22
lines changed Original file line number Diff line number Diff line change 1+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+ version : 2
3+ updates :
4+ - package-ecosystem : " github-actions"
5+ directory : " /" # Location of package manifests
6+ schedule :
7+ interval : " monthly"
Original file line number Diff line number Diff line change 66 BuildDocs :
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@v2
10- - uses : julia-actions/setup-julia@latest
9+ - uses : actions/checkout@v5
10+ - uses : julia-actions/setup-julia@v2
1111 with :
1212 version : ' 1.6'
1313 - name : Install dependencies
14- run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
14+ shell : julia --project=docs/ --color=yes {0}
15+ run : |
16+ using Pkg
17+ Pkg.develop(PackageSpec(path=pwd()))
18+ Pkg.instantiate()
1519 - name : Build Docs
16- run : julia --project=docs/ docs/make.jl
20+ run : julia --project=docs/ --color=yes docs/make.jl
1721 - name : Deploy Documentation
1822 if : ${{ (github.ref == 'refs/heads/main' && github.repository == 'Symengine/symengine.jl') || (github.ref == 'refs/heads/master' && github.repository == 'Symengine/symengine.jl')}}
1923 uses : peaceiris/actions-gh-pages@v3
Original file line number Diff line number Diff line change 33 schedule :
44 - cron : ' 00 00 * * *'
55 workflow_dispatch :
6+ permissions :
7+ contents : write
8+ pull-requests : write
69jobs :
710 CompatHelper :
811 runs-on : ubuntu-latest
912 steps :
10- - name : Pkg.add("CompatHelper")
11- run : julia -e 'using Pkg; Pkg.add("CompatHelper")'
12- - name : CompatHelper.main()
13+ - name : Check if Julia is already available in the PATH
14+ id : julia_in_path
15+ run : which julia
16+ continue-on-error : true
17+ - name : Install Julia, but only if it is not already available in the PATH
18+ uses : julia-actions/setup-julia@v2
19+ with :
20+ version : ' 1'
21+ arch : ${{ runner.arch }}
22+ if : steps.julia_in_path.outcome != 'success'
23+ - name : " Add the General registry via Git"
24+ shell : julia --color=yes {0}
25+ run : |
26+ import Pkg
27+ ENV["JULIA_PKG_SERVER"] = ""
28+ Pkg.Registry.add("General")
29+ - name : " Install CompatHelper"
30+ shell : julia --color=yes {0}
31+ run : |
32+ import Pkg
33+ name = "CompatHelper"
34+ uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
35+ version = "3"
36+ Pkg.add(; name, uuid, version)
37+ - name : Run CompatHelper
38+ shell : julia --color=yes {0}
39+ run : using CompatHelper; CompatHelper.main()
1340 env :
1441 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1542 COMPATHELPER_PRIV : ${{ secrets.DOCUMENTER_KEY }} # optional
16- run : julia -e 'using CompatHelper; CompatHelper.main()'
Original file line number Diff line number Diff line change 1818 fail-fast : false
1919 matrix :
2020 version :
21- - ' 1.6 ' # minimum version set in Project.toml
21+ - ' min ' # minimum version set in Project.toml
2222 - ' 1' # latest 1.x.y
2323 # - 'nightly'
2424 os :
@@ -28,32 +28,23 @@ jobs:
2828 arch :
2929 - x64
3030 steps :
31- - uses : actions/checkout@v4
31+ - uses : actions/checkout@v5
3232 - uses : julia-actions/setup-julia@v2
3333 with :
3434 version : ${{ matrix.version }}
3535 arch : ${{ matrix.arch }}
36- - uses : actions/cache@v4
37- env :
38- cache-name : cache-artifacts
39- with :
40- path : ~/.julia/artifacts
41- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
42- restore-keys : |
43- ${{ runner.os }}-test-${{ env.cache-name }}-
44- ${{ runner.os }}-test-
45- ${{ runner.os }}-
36+ - uses : julia-actions/cache@v2
4637 - uses : julia-actions/julia-buildpkg@v1
4738 - uses : julia-actions/julia-runtest@v1
4839 - uses : julia-actions/julia-processcoverage@v1
4940 - uses : codecov/codecov-action@v5
5041 with :
51- file : ./lcov.info
42+ files : ./lcov.info
5243 flags : unittests
5344 name : codecov-umbrella
5445 fail_ci_if_error : false
5546 token : ${{ secrets.CODECOV_TOKEN }}
56- - uses : coverallsapp/github-action@master
47+ - uses : coverallsapp/github-action@v2
5748 with :
5849 github-token : ${{ secrets.GITHUB_TOKEN }}
5950 flag-name : run-${{ matrix.version }}-${{ matrix.os }}-${{ matrix.arch }}
You can’t perform that action at this time.
0 commit comments