From 795e97267523e05e424bfccb76c2214ca6ccfcfc Mon Sep 17 00:00:00 2001 From: Eric Ford Date: Mon, 10 Jun 2024 16:50:16 -0400 Subject: [PATCH] update actions --- .github/workflows/CI.yml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e15fd3b..e9cbdd0 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -2,6 +2,14 @@ name: CI on: - push - pull_request + + + +# needed to allow julia-actions/cache to delete old caches that it has created +permissions: + actions: write + contents: read + jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} @@ -10,18 +18,18 @@ jobs: fail-fast: false matrix: version: - - '1.5' + - '1.9' os: - ubuntu-latest arch: - x64 steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: actions/cache@v2 env: cache-name: cache-artifacts with: @@ -41,11 +49,11 @@ jobs: name: Documentation runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: '1' - - uses: actions/cache@v1 + - uses: actions/cache@v2 env: cache-name: cache-artifacts with: