Skip to content

Commit

Permalink
Merge pull request #324 from JuliaStats/dw/cache
Browse files Browse the repository at this point in the history
Use julia-actions/cache
  • Loading branch information
andreasnoack authored Oct 2, 2024
2 parents f6dc825 + 0292015 commit 800c3c5
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,17 @@ jobs:
- windows-latest
arch:
- x64
# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
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
Expand Down

0 comments on commit 800c3c5

Please sign in to comment.