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 5
5
- cron : 0 0 * * *
6
6
workflow_dispatch :
7
7
8
+ permissions :
9
+ contents : write
10
+ pull-requests : write
11
+
8
12
jobs :
9
13
CompatHelper :
10
14
runs-on : ubuntu-latest
11
15
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}
13
32
- name : " Install CompatHelper"
14
33
run : |
15
34
import Pkg
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ jobs:
17
17
steps :
18
18
# setup
19
19
- uses : actions/checkout@v2
20
- - uses : julia-actions/setup-julia@latest
20
+ - uses : julia-actions/setup-julia@v1
21
21
with :
22
22
version : ' 1.7'
23
- - uses : julia-actions/julia-buildpkg@latest
23
+ - uses : julia-actions/julia-buildpkg@v1
24
24
- name : install dependencies
25
25
run :
julia -e 'using Pkg; pkg"add PkgBenchmark [email protected] "'
26
26
# run the benchmark suite
Original file line number Diff line number Diff line change 40
40
with :
41
41
version : ${{ matrix.version }}
42
42
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
53
44
- uses : julia-actions/julia-buildpkg@v1
54
45
- uses : julia-actions/julia-runtest@v1
55
46
with :
Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- uses : actions/checkout@v2
17
- - uses : julia-actions/setup-julia@latest
17
+ - uses : julia-actions/setup-julia@v1
18
18
with :
19
19
version : 1
20
20
- run : |
You can’t perform that action at this time.
0 commit comments