File tree Expand file tree Collapse file tree 4 files changed +74
-15
lines changed Expand file tree Collapse file tree 4 files changed +74
-15
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
Original file line number Diff line number Diff line change 1+ name : CompatHelper
2+ on :
3+ schedule :
4+ - cron : 0 0 * * *
5+ workflow_dispatch :
6+ permissions :
7+ contents : write
8+ pull-requests : write
9+ jobs :
10+ CompatHelper :
11+ runs-on : ubuntu-latest
12+ 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@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+ 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}
42+ env :
43+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44+ COMPATHELPER_PRIV : ${{ secrets.DOCUMENTER_KEY }}
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'
Original file line number Diff line number Diff line change @@ -34,24 +34,17 @@ jobs:
3434 julia-version : 1.8
3535
3636 steps :
37- - uses : actions/checkout@v2
37+ - uses : actions/checkout@v4
3838 - name : " Set up Julia"
3939 uses : julia-actions/setup-julia@latest
4040 with :
4141 version : ${{ matrix.julia-version }}
4242 arch : ${{ matrix.julia-arch }}
43- - uses : actions/cache@v1
44- env :
45- cache-name : cache-artifacts
46- with :
47- path : ~/.julia/artifacts
48- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
49- restore-keys : |
50- ${{ runner.os }}-test-${{ env.cache-name }}-
51- ${{ runner.os }}-test-
52- ${{ runner.os }}-
43+ - uses : julia-actions/cache@v2
5344 - uses : julia-actions/julia-buildpkg@v1
54- - uses : julia-actions/julia-runtest@latest
55- - uses : julia-actions/julia-uploadcodecov@latest
56- env :
57- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
45+ - uses : julia-actions/julia-runtest@v1
46+ - uses : julia-actions/julia-processcoverage@v1
47+ - uses : codecov/codecov-action@v5
48+ with :
49+ files : lcov.info
50+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments