Skip to content

Commit 26a9a64

Browse files
authored
Update versions in GitHub actions (#80)
1 parent 60bda9c commit 26a9a64

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- release-*
77
pull_request:
88
types: [opened, synchronize, reopened]
9+
# needed to allow julia-actions/cache to delete old caches that it has created
10+
permissions:
11+
actions: write
12+
contents: read
913
jobs:
1014
test:
1115
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -29,26 +33,18 @@ jobs:
2933
os: ubuntu-latest
3034
arch: x86
3135
steps:
32-
- uses: actions/checkout@v2
33-
- uses: julia-actions/setup-julia@v1
36+
- uses: actions/checkout@v4
37+
- uses: julia-actions/setup-julia@v2
3438
with:
3539
version: ${{ matrix.version }}
3640
arch: ${{ matrix.arch }}
37-
- uses: actions/cache@v1
38-
env:
39-
cache-name: cache-artifacts
40-
with:
41-
path: ~/.julia/artifacts
42-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
43-
restore-keys: |
44-
${{ runner.os }}-test-${{ env.cache-name }}-
45-
${{ runner.os }}-test-
46-
${{ runner.os }}-
41+
- uses: julia-actions/cache@v1
4742
- uses: julia-actions/julia-buildpkg@v1
4843
- uses: julia-actions/julia-runtest@v1
4944
with:
5045
depwarn: error
5146
- uses: julia-actions/julia-processcoverage@v1
52-
- uses: codecov/codecov-action@v1
47+
- uses: codecov/codecov-action@v4
5348
with:
5449
file: lcov.info
50+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/format_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: julia-actions/setup-julia@latest
1414
with:
1515
version: '1'
16-
- uses: actions/checkout@v1
16+
- uses: actions/checkout@v4
1717
- name: Format check
1818
shell: julia --color=yes {0}
1919
run: |

0 commit comments

Comments
 (0)