From 204b628621052b54f846e6d5fbf4efd5363975e9 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Fri, 8 Mar 2024 11:29:19 +0100 Subject: [PATCH] Use julia-actions/cache instead of actions/cache. --- .github/workflows/CI.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2ba9cfe..1aaaef4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -33,13 +33,7 @@ jobs: - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} - - uses: actions/cache@v3 - with: - path: | - ~/.julia/artifacts - ~/.julia/packages - ~/.julia/registries - key: .julia-test-${{ matrix.version }}-${{ hashFiles('Project.toml') }} + - uses: julia-actions/cache@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v3 @@ -53,13 +47,7 @@ jobs: - uses: julia-actions/setup-julia@v1 with: version: '1.10' - - uses: actions/cache@v3 - with: - path: | - ~/.julia/artifacts - ~/.julia/packages - ~/.julia/registries - key: .julia-docs-${{ hashFiles('docs/Project.toml', 'docs/Manifest.toml') }} + - uses: julia-actions/cache@v1 - name: Install dependencies run: julia --project=docs -e 'using Pkg; Pkg.instantiate()' - name: Build and deploy