File tree 4 files changed +19
-26
lines changed
4 files changed +19
-26
lines changed Original file line number Diff line number Diff line change 4
4
branches : [master]
5
5
pull_request :
6
6
types : [opened, synchronize, reopened]
7
+ # needed to allow julia-actions/cache to delete old caches that it has created
8
+ permissions :
9
+ actions : write
10
+ contents : read
7
11
jobs :
8
12
test :
9
13
name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -15,21 +19,12 @@ jobs:
15
19
os : [ubuntu-latest, macOS-latest]
16
20
arch : [x64]
17
21
steps :
18
- - uses : actions/checkout@v3
22
+ - uses : actions/checkout@v4
19
23
- uses : julia-actions/setup-julia@v2
20
24
with :
21
25
version : ${{ matrix.version }}
22
26
arch : ${{ matrix.arch }}
23
- - uses : actions/cache@v1
24
- env :
25
- cache-name : cache-artifacts
26
- with :
27
- path : ~/.julia/artifacts
28
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
29
- restore-keys : |
30
- ${{ runner.os }}-test-${{ env.cache-name }}-
31
- ${{ runner.os }}-test-
32
- ${{ runner.os }}-
27
+ - uses : julia-actions/cache@v2
33
28
- uses : julia-actions/julia-buildpkg@v1
34
29
- shell : bash
35
30
run : julia -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.activate("test/MINLPTests"); Pkg.instantiate()'
Original file line number Diff line number Diff line change 1
1
name : TagBot
2
2
on :
3
- schedule :
4
- - cron : 0 * * * *
3
+ issue_comment :
4
+ types :
5
+ - created
6
+ workflow_dispatch :
5
7
jobs :
6
8
TagBot :
9
+ if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
7
10
runs-on : ubuntu-latest
8
11
steps :
9
12
- uses : JuliaRegistries/TagBot@v1
Original file line number Diff line number Diff line change 4
4
branches : [master]
5
5
pull_request :
6
6
types : [opened, synchronize, reopened]
7
+ # needed to allow julia-actions/cache to delete old caches that it has created
8
+ permissions :
9
+ actions : write
10
+ contents : read
7
11
jobs :
8
12
test :
9
13
name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -15,24 +19,15 @@ jobs:
15
19
os : [ubuntu-latest, macOS-latest]
16
20
arch : [x64]
17
21
steps :
18
- - uses : actions/checkout@v3
22
+ - uses : actions/checkout@v4
19
23
- uses : julia-actions/setup-julia@v2
20
24
with :
21
25
version : ${{ matrix.version }}
22
26
arch : ${{ matrix.arch }}
23
- - uses : actions/cache@v1
24
- env :
25
- cache-name : cache-artifacts
26
- with :
27
- path : ~/.julia/artifacts
28
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
29
- restore-keys : |
30
- ${{ runner.os }}-test-${{ env.cache-name }}-
31
- ${{ runner.os }}-test-
32
- ${{ runner.os }}-
27
+ - uses : julia-actions/cache@v2
33
28
- uses : julia-actions/julia-buildpkg@v1
34
29
- uses : julia-actions/julia-runtest@v1
35
30
- uses : julia-actions/julia-processcoverage@v1
36
- - uses : codecov/codecov-action@v1
31
+ - uses : codecov/codecov-action@v4
37
32
with :
38
33
file : lcov.info
Original file line number Diff line number Diff line change 13
13
- uses : julia-actions/setup-julia@latest
14
14
with :
15
15
version : ' 1'
16
- - uses : actions/checkout@v1
16
+ - uses : actions/checkout@v4
17
17
- name : Format check
18
18
shell : julia --color=yes {0}
19
19
run : |
You can’t perform that action at this time.
0 commit comments