File tree Expand file tree Collapse file tree 3 files changed +42
-46
lines changed
Expand file tree Collapse file tree 3 files changed +42
-46
lines changed Original file line number Diff line number Diff line change 66 branches :
77 - master
88 - main
9- tags : ' *'
9+ tags : ['*']
10+ pull_request :
11+ workflow_dispatch :
12+
13+ concurrency :
14+ # Skip intermediate builds: always.
15+ # Cancel intermediate builds: only if it is a pull request build.
16+ group : ${{ github.workflow }}-${{ github.ref }}
17+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
1018
1119jobs :
1220 test :
1321 name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
1422 runs-on : ${{ matrix.os }}
23+ timeout-minutes : 60
24+ permissions : # needed to allow julia-actions/cache to proactively delete old caches that it has created
25+ actions : write
26+ contents : read
1527 strategy :
1628 fail-fast : false
1729 matrix :
3244 with :
3345 version : ${{ matrix.version }}
3446 arch : ${{ matrix.arch }}
35- - uses : actions/cache@v4
36- env :
37- cache-name : cache-artifacts
38- with :
39- path : ~/.julia/artifacts
40- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
41- restore-keys : |
42- ${{ runner.os }}-test-${{ env.cache-name }}-
43- ${{ runner.os }}-test-
44- ${{ runner.os }}-
47+ - uses : julia-actions/cache@v1
4548 - uses : julia-actions/julia-buildpkg@v1
4649 - uses : julia-actions/julia-runtest@v1
4750 - uses : julia-actions/julia-processcoverage@v1
Original file line number Diff line number Diff line change 11name : CompatHelper
2+
23on :
34 schedule :
45 - cron : 0 0 * * *
56 workflow_dispatch :
6- permissions :
7- contents : write
8- pull-requests : write
7+
98jobs :
109 CompatHelper :
1110 runs-on : ubuntu-latest
1211 steps :
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@v1
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- run : |
25- import Pkg
26- ENV["JULIA_PKG_SERVER"] = ""
27- Pkg.Registry.add("General")
28- shell : julia --color=yes {0}
29- - name : " Install CompatHelper"
30- run : |
31- import Pkg
32- name = "CompatHelper"
33- uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
34- version = "3"
35- Pkg.add(; name, uuid, version)
36- shell : julia --color=yes {0}
37- - name : " Run CompatHelper"
38- run : |
39- import CompatHelper
40- CompatHelper.main()
41- shell : julia --color=yes {0}
12+ - name : Pkg.add("CompatHelper")
13+ run : julia -e 'using Pkg; Pkg.add("CompatHelper")'
14+ - name : CompatHelper.main()
4215 env :
4316 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4417 COMPATHELPER_PRIV : ${{ secrets.DOCUMENTER_KEY }}
45- # COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
18+ run : julia -e 'using CompatHelper; CompatHelper.main()'
Original file line number Diff line number Diff line change 11name : TagBot
22on :
3- schedule :
4- - cron : 0 * * * *
3+ issue_comment :
4+ types :
5+ - created
6+ workflow_dispatch :
7+ inputs :
8+ lookback :
9+ default : 3
10+ permissions :
11+ actions : read
12+ checks : read
13+ contents : write
14+ deployments : read
15+ issues : read
16+ discussions : read
17+ packages : read
18+ pages : read
19+ pull-requests : read
20+ repository-projects : read
21+ security-events : read
22+ statuses : read
523jobs :
624 TagBot :
25+ if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
726 runs-on : ubuntu-latest
827 steps :
928 - uses : JuliaRegistries/TagBot@v1
1029 with :
1130 token : ${{ secrets.GITHUB_TOKEN }}
31+ ssh : ${{ secrets.DOCUMENTER_KEY }}
You can’t perform that action at this time.
0 commit comments