From 52afcfc578fcbd18c520e9da6c7798936a13cdd8 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Thu, 18 Apr 2024 19:25:00 +1200 Subject: [PATCH] Update versions in GitHub actions --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47b8ef8009..27d10bbff2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,10 @@ on: - release-* pull_request: types: [opened, synchronize, reopened] +# 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 }} - ${{ matrix.moi_test_modules }} - ${{ github.event_name }} @@ -58,7 +62,7 @@ jobs: moi_test_modules: 'Test;Utilities;Benchmarks' steps: - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v1 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} @@ -68,6 +72,7 @@ jobs: env: MOI_TEST_MODULES: ${{ matrix.moi_test_modules }} - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: file: lcov.info + token: ${{ secrets.CODECOV_TOKEN }}