Skip to content

Commit 9ed3aa0

Browse files
authored
Use julia-actions/cache for tests (#137)
1 parent 678da69 commit 9ed3aa0

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

.github/workflows/ci.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,7 @@ jobs:
5050
version: ${{ matrix.version }}
5151
arch: ${{ matrix.arch }}
5252

53-
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
54-
env:
55-
cache-name: cache-artifacts
56-
with:
57-
path: ~/.julia/artifacts
58-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
59-
restore-keys: |
60-
${{ runner.os }}-test-${{ env.cache-name }}-
61-
${{ runner.os }}-test-
62-
${{ runner.os }}-
53+
- uses: julia-actions/cache@2b1bf4d8a138668ac719ea7ca149b53ed8d8401e # v2.0.7
6354

6455
- uses: julia-actions/julia-buildpkg@e3eb439fad4f9aba7da2667e7510e4a46ebc46e1 # v1.7.0
6556

.github/workflows/test_logger_ci.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,6 @@ jobs:
3939
version: ${{ matrix.version }}
4040
arch: ${{ matrix.arch }}
4141

42-
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9
43-
env:
44-
cache-name: cache-artifacts
45-
with:
46-
path: ~/.julia/artifacts
47-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
48-
restore-keys: |
49-
${{ runner.os }}-test-${{ env.cache-name }}-
50-
${{ runner.os }}-test-
51-
${{ runner.os }}-
42+
- uses: julia-actions/cache@2b1bf4d8a138668ac719ea7ca149b53ed8d8401e # v2.0.7
5243

5344
- run: julia --color=yes --check-bounds=yes test_logger_tests.jl

0 commit comments

Comments
 (0)