From bd3dacd4fdbff14cdc189e0cdedcd60e2896c395 Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Tue, 14 Oct 2025 12:57:14 +0200 Subject: [PATCH] Adapt julia cache to correctly use its own cache based on Julia version --- .github/workflows/test-smokes.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test-smokes.yml b/.github/workflows/test-smokes.yml index 3dbca180a11..b38543f5910 100644 --- a/.github/workflows/test-smokes.yml +++ b/.github/workflows/test-smokes.yml @@ -38,6 +38,11 @@ on: schedule: - cron: "0 6 * * *" +# this is require to cleanup julia cache +permissions: + actions: write + contents: read + jobs: run-smokes: name: Run smoke (${{ matrix.os }})${{ matrix.time-test && ' with timed file' || ''}}${{ inputs.extra-r-packages && ' - with some extra R packages'|| ''}} @@ -181,11 +186,14 @@ jobs: - name: Setup Julia uses: julia-actions/setup-julia@v2 + id: setup-julia with: version: "1.11.3" - name: Cache Julia Packages uses: julia-actions/cache@v2 + with: + cache-name: julia-cache;workflow=${{ github.workflow }};job=${{ github.job }};julia=${{ steps.setup-julia.outputs.julia-version }} - name: Restore Julia Packages working-directory: tests