From 9ed3aa060187e2fb357c50cb10209bd63f49d80b Mon Sep 17 00:00:00 2001 From: Curtis Vogt Date: Wed, 22 Jan 2025 15:10:51 -0600 Subject: [PATCH] Use `julia-actions/cache` for tests (#137) --- .github/workflows/ci.yml | 11 +---------- .github/workflows/test_logger_ci.yml | 11 +---------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06ff0f6..85157f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,16 +50,7 @@ jobs: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 - 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@2b1bf4d8a138668ac719ea7ca149b53ed8d8401e # v2.0.7 - uses: julia-actions/julia-buildpkg@e3eb439fad4f9aba7da2667e7510e4a46ebc46e1 # v1.7.0 diff --git a/.github/workflows/test_logger_ci.yml b/.github/workflows/test_logger_ci.yml index 990b779..ee3f15f 100644 --- a/.github/workflows/test_logger_ci.yml +++ b/.github/workflows/test_logger_ci.yml @@ -39,15 +39,6 @@ jobs: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 - 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@2b1bf4d8a138668ac719ea7ca149b53ed8d8401e # v2.0.7 - run: julia --color=yes --check-bounds=yes test_logger_tests.jl