Skip to content

Commit cfcc8ae

Browse files
Update CI permissions and cache action version
1 parent 8c462dc commit cfcc8ae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ concurrency:
1111
# Cancel intermediate builds: only if it is a pull request build.
1212
group: ${{ github.workflow }}-${{ github.ref }}
1313
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
14+
# needed to allow julia-actions/cache to delete old caches that it has created
15+
permissions:
16+
actions: write
17+
contents: read
1418
jobs:
1519
test:
1620
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -33,7 +37,7 @@ jobs:
3337
with:
3438
version: ${{ matrix.version }}
3539
arch: ${{ matrix.arch }}
36-
- uses: julia-actions/cache@v1
40+
- uses: julia-actions/cache@v2
3741
- uses: julia-actions/julia-buildpkg@v1
3842
- uses: julia-actions/julia-runtest@v1
3943
continue-on-error: ${{ matrix.version == 'nightly' }}

0 commit comments

Comments
 (0)