File tree 2 files changed +11
-15
lines changed
2 files changed +11
-15
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 : ' Gurobi'
10
14
runs-on : ' ubuntu-latest'
11
15
strategy :
12
16
fail-fast : false
13
17
steps :
14
- - uses : actions/checkout@v2
15
- - uses : julia-actions/setup-julia@v1
18
+ - uses : actions/checkout@v4
19
+ - uses : julia-actions/setup-julia@v2
16
20
with :
17
21
version : ' 1'
18
22
arch : ' x64'
19
- - uses : actions/cache@v1
20
- env :
21
- cache-name : cache-artifacts
22
- with :
23
- path : ~/.julia/artifacts
24
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
25
- restore-keys : |
26
- ${{ runner.os }}-test-${{ env.cache-name }}-
27
- ${{ runner.os }}-test-
28
- ${{ runner.os }}-
23
+ - uses : julia-actions/cache@v1
29
24
- shell : bash
30
25
env :
31
26
WLSLICENSE : ${{ secrets.WLSLICENSE }}
35
30
- uses : julia-actions/julia-buildpkg@v1
36
31
- uses : julia-actions/julia-runtest@v1
37
32
- uses : julia-actions/julia-processcoverage@v1
38
- - uses : codecov/codecov-action@v1
33
+ - uses : codecov/codecov-action@v4
39
34
with :
40
35
file : lcov.info
36
+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ jobs:
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 : |
20
20
using Pkg
21
- Pkg.add(PackageSpec(name="JuliaFormatter", version="0.22.10 "))
21
+ Pkg.add(PackageSpec(name="JuliaFormatter", version="1 "))
22
22
using JuliaFormatter
23
23
format("src/MOI_wrapper", verbose=true)
24
24
format("test", verbose=true)
You can’t perform that action at this time.
0 commit comments