File tree Expand file tree Collapse file tree 3 files changed +45
-12
lines changed
Expand file tree Collapse file tree 3 files changed +45
-12
lines changed Original file line number Diff line number Diff line change 33 schedule :
44 - cron : 48 16 * * *
55 workflow_dispatch :
6+ permissions :
7+ contents : write
8+ pull-requests : write
69jobs :
710 CompatHelper :
811 runs-on : ubuntu-latest
912 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}
1029 - name : " Install CompatHelper"
1130 run : |
1231 import Pkg
1332 name = "CompatHelper"
1433 uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
15- version = "2 "
34+ version = "3 "
1635 Pkg.add(; name, uuid, version)
1736 shell : julia --color=yes {0}
1837 - name : " Run CompatHelper"
Original file line number Diff line number Diff line change 44 types :
55 - created
66 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
723jobs :
824 TagBot :
925 if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
1228 - uses : JuliaRegistries/TagBot@v1
1329 with :
1430 token : ${{ secrets.GITHUB_TOKEN }}
31+ # Edit the following line to reflect the actual name of the GitHub Secret containing your private key
1532 ssh : ${{ secrets.DOCUMENTER_KEY }}
33+ # ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}
Original file line number Diff line number Diff line change 1111 paths-ignore :
1212 - ' README.md'
1313 - ' .github/workflows/**'
14+ concurrency :
15+ # Skip intermediate builds: always.
16+ # Cancel intermediate builds: only if it is a pull request build.
17+ group : ${{ github.workflow }}-${{ github.ref }}
18+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
1419
1520jobs :
1621 test :
@@ -29,21 +34,12 @@ jobs:
2934 arch :
3035 - x64
3136 steps :
32- - uses : actions/checkout@v2
37+ - uses : actions/checkout@v4
3338 - uses : julia-actions/setup-julia@v1
3439 with :
3540 version : ${{ matrix.version }}
3641 arch : ${{ matrix.arch }}
37- - uses : actions/cache@v1
38- env :
39- cache-name : cache-artifacts
40- with :
41- path : ~/.julia/artifacts
42- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
43- restore-keys : |
44- ${{ runner.os }}-test-${{ env.cache-name }}-
45- ${{ runner.os }}-test-
46- ${{ runner.os }}-
42+ - uses : julia-actions/cache@v1
4743 - uses : julia-actions/julia-buildpkg@v1
4844 - uses : julia-actions/julia-runtest@v1
4945 - uses : julia-actions/julia-processcoverage@v1
You can’t perform that action at this time.
0 commit comments