Skip to content

Commit

Permalink
Use julia-actions/cache in README example (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrodium authored Feb 18, 2024
1 parent d4b6651 commit 3a055a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
- main
pull_request:

# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read

jobs:
test:
runs-on: ${{ matrix.os }}
Expand All @@ -36,6 +41,7 @@ jobs:
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
# with:
Expand Down

0 comments on commit 3a055a9

Please sign in to comment.