Skip to content

Commit 8882aac

Browse files
committed
simplify the cache action
1 parent 3ec0644 commit 8882aac

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,7 @@ jobs:
3838
with:
3939
version: ${{ matrix.version }}
4040
arch: ${{ matrix.arch }}
41-
- uses: actions/cache@v4
42-
env:
43-
cache-name: cache-artifacts
44-
with:
45-
path: ~/.julia/artifacts
46-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
47-
restore-keys: |
48-
${{ runner.os }}-test-${{ env.cache-name }}-
49-
${{ runner.os }}-test-
50-
${{ runner.os }}-
41+
- uses: julia-actions/cache@v2
5142
- uses: julia-actions/julia-buildpkg@v1
5243
- uses: julia-actions/julia-runtest@v1
5344
- uses: julia-actions/julia-processcoverage@v1

.github/workflows/prprecommit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
uses: julia-actions/setup-julia@v2
2424
with:
2525
version: '1'
26+
- uses: julia-actions/cache@v2
2627
- name: Setup JuliaFormatter
2728
run: |
2829
julia -e '

0 commit comments

Comments
 (0)