Skip to content

Commit 8c7320e

Browse files
Update GHA
1 parent 6b677f9 commit 8c7320e

File tree

2 files changed

+7
-50
lines changed

2 files changed

+7
-50
lines changed

.github/workflows/CodeCov.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ concurrency:
88
group: ${{ github.workflow }}-${{ github.ref }}
99
cancel-in-progress: true
1010

11+
# Needed to allow julia-actions/cache to delete old caches that it has created
12+
permissions:
13+
actions: write
14+
contents: read
15+
1116
jobs:
1217
test:
1318
name: ci ${{ matrix.version }} - ${{ matrix.os }}
@@ -28,20 +33,11 @@ jobs:
2833
with:
2934
version: ${{ matrix.version }}
3035
arch: ${{ matrix.arch }}
31-
- uses: actions/cache@v1
32-
env:
33-
cache-name: cache-artifacts
34-
with:
35-
path: ~/.julia/artifacts
36-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
37-
restore-keys: |
38-
${{ runner.os }}-test-${{ env.cache-name }}-
39-
${{ runner.os }}-test-
40-
${{ runner.os }}-
36+
- uses: julia-actions/cache@v2
4137
- uses: julia-actions/julia-buildpkg@v1
4238
- uses: julia-actions/julia-runtest@v1
4339
- uses: julia-actions/julia-processcoverage@v1
44-
- uses: codecov/codecov-action@v1
40+
- uses: codecov/codecov-action@v5
4541
with:
4642
file: lcov.info
4743
token: ${{secrets.CODECOV_TOKEN}}

0 commit comments

Comments
 (0)