From 5f9d86dd355c538ced2d0ad734904bb337585c4d Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Mon, 24 Nov 2025 14:13:22 +0400 Subject: [PATCH 1/2] Use julia actions cache in CI --- .github/workflows/ci.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5f641dab..b9a0ff6c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,11 @@ concurrency: group: build-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true +# needed to allow julia-actions/cache to delete old caches that it has created +permissions: + actions: write + contents: read + jobs: pre_job: # continue-on-error: true # Uncomment once integration is finished @@ -41,30 +46,19 @@ jobs: fail-fast: false matrix: version: + - 'min' - 'lts' - '1' os: - ubuntu-latest # - macOS-latest # FastTransforms.jl is currently broken on macOS-latest - windows-latest - arch: - - x64 steps: - uses: actions/checkout@v3 - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - - uses: actions/cache@v3 - env: - cache-name: cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} - restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- - ${{ runner.os }}- + - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 From d8e364f13d382d28fd06f7e5bcf953db573aeca7 Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Mon, 24 Nov 2025 14:18:59 +0400 Subject: [PATCH 2/2] Remove arch from name --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9a0ff6c0..bd887376f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: test: needs: pre_job if: needs.pre_job.outputs.should_skip != 'true' - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} strategy: fail-fast: false