File tree Expand file tree Collapse file tree 5 files changed +31
-14
lines changed Expand file tree Collapse file tree 5 files changed +31
-14
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 : " weekly"
Original file line number Diff line number Diff line change 55 - cron : 0 0 * * *
66 workflow_dispatch :
77
8+ permissions :
9+ contents : write
10+ pull-requests : write
11+
812jobs :
913 CompatHelper :
1014 runs-on : ubuntu-latest
1115 steps :
12- - uses : actions/checkout@v2
16+ - name : Check if Julia is already available in the PATH
17+ id : julia_in_path
18+ run : which julia
19+ continue-on-error : true
20+ - name : Install Julia, but only if it is not already available in the PATH
21+ uses : julia-actions/setup-julia@v1
22+ with :
23+ version : ' 1'
24+ arch : ${{ runner.arch }}
25+ if : steps.julia_in_path.outcome != 'success'
26+ - name : " Add the General registry via Git"
27+ run : |
28+ import Pkg
29+ ENV["JULIA_PKG_SERVER"] = ""
30+ Pkg.Registry.add("General")
31+ shell : julia --color=yes {0}
1332 - name : " Install CompatHelper"
1433 run : |
1534 import Pkg
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ jobs:
1717 steps :
1818 # setup
1919 - uses : actions/checkout@v2
20- - uses : julia-actions/setup-julia@latest
20+ - uses : julia-actions/setup-julia@v1
2121 with :
2222 version : ' 1.7'
23- - uses : julia-actions/julia-buildpkg@latest
23+ - uses : julia-actions/julia-buildpkg@v1
2424 - name : install dependencies
2525 run : julia -e 'using Pkg; pkg"add PkgBenchmark BenchmarkCI@0.1"'
2626 # run the benchmark suite
Original file line number Diff line number Diff line change 4040 with :
4141 version : ${{ matrix.version }}
4242 arch : ${{ matrix.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@v1
5344 - uses : julia-actions/julia-buildpkg@v1
5445 - uses : julia-actions/julia-runtest@v1
5546 with :
Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-latest
1515 steps :
1616 - uses : actions/checkout@v2
17- - uses : julia-actions/setup-julia@latest
17+ - uses : julia-actions/setup-julia@v1
1818 with :
1919 version : 1
2020 - run : |
You can’t perform that action at this time.
0 commit comments