File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CompatHelper
2+ on :
3+ schedule :
4+ - cron : 0 0 1/3 * *
5+ workflow_dispatch :
6+ jobs :
7+ CompatHelper :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Pkg.add("CompatHelper")
11+ run : julia -e 'using Pkg; Pkg.add("CompatHelper")'
12+ - name : CompatHelper.main()
13+ env :
14+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
15+ COMPATHELPER_PRIV : ${{ secrets.DOCUMENTER_KEY }}
16+ run : julia -e 'using CompatHelper; CompatHelper.main()'
Original file line number Diff line number Diff line change 1+ name : TagBot
2+ on :
3+ issue_comment :
4+ types :
5+ - created
6+ workflow_dispatch :
7+ jobs :
8+ TagBot :
9+ if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : JuliaRegistries/TagBot@v1
13+ with :
14+ token : ${{ secrets.GITHUB_TOKEN }}
15+ ssh : ${{ secrets.DOCUMENTER_KEY }}
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ tags : ' *'
8+ pull_request :
9+
10+ jobs :
11+ test :
12+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
13+ runs-on : ${{ matrix.os }}
14+ timeout-minutes : 45
15+ permissions : # needed to allow julia-actions/cache to proactively delete old caches that it has created
16+ actions : write
17+ contents : read
18+ strategy :
19+ fail-fast : true
20+ matrix :
21+ version :
22+ - ' 1.11' # minimum supported version
23+ - ' 1' # latest release
24+ os :
25+ - ubuntu-latest
26+ - windows-latest
27+ - macos-latest
28+ arch :
29+ - x64
30+ steps :
31+ - uses : actions/checkout@v4
32+ - uses : julia-actions/setup-julia@v2
33+ with :
34+ version : ${{ matrix.version }}
35+ arch : ${{ matrix.arch }}
36+ - uses : julia-actions/cache@v2
37+ - uses : julia-actions/julia-buildpkg@v1
38+ - uses : julia-actions/julia-runtest@v1
39+ - uses : julia-actions/julia-processcoverage@v1
40+ - uses : codecov/codecov-action@v5
41+ with :
42+ files : lcov.info
Original file line number Diff line number Diff line change 1+ # Using template from https://juliadocs.github.io/Documenter.jl/stable/man/hosting/#GitHub-Actions
2+ name : Documentation
3+
4+ on :
5+ push :
6+ branches :
7+ - main
8+ tags : ' *'
9+ pull_request :
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : julia-actions/setup-julia@latest
17+ with :
18+ version : ' 1' # latest release
19+ - name : Install dependencies
20+ run : |
21+ julia --project=docs/ -e '
22+ using Pkg
23+ Pkg.develop(PackageSpec(path=pwd()))
24+ Pkg.instantiate()'
25+ - name : Build and deploy
26+ env :
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
28+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
29+ run : julia --project=docs/ docs/make.jl
You can’t perform that action at this time.
0 commit comments