Skip to content

Commit b764487

Browse files
authored
Merge pull request #48 from tensor4all/terasaki/update-CI
Update CI permissions and cache action version
2 parents e138f2c + 8bc985d commit b764487

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 2 deletions
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 }}
@@ -19,7 +23,7 @@ jobs:
1923
fail-fast: false
2024
matrix:
2125
version:
22-
- '1.9'
26+
- 'lts'
2327
- '1'
2428
os:
2529
- ubuntu-latest
@@ -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)