From 3a055a9a24029efa9b65773c7f469f993ac5bc4e Mon Sep 17 00:00:00 2001 From: Yuto Horikawa Date: Sun, 18 Feb 2024 23:31:58 +0900 Subject: [PATCH] Use `julia-actions/cache` in README example (#99) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 3fb89bd..80697c8 100644 --- a/README.md +++ b/README.md @@ -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 }} @@ -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: