Skip to content

Commit

Permalink
add cache to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nhz2 committed Jul 18, 2024
1 parent 9fc2b47 commit 726331f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/Documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
Documenter:
permissions:
actions: write
contents: write
pull-requests: read
statuses: write
Expand All @@ -20,6 +21,7 @@ jobs:
with:
version: '1.10'
show-versioninfo: true # this causes versioninfo to be printed to the action log
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-docdeploy@latest
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/Invalidations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/cache@v2
- uses: actions/checkout@v4
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-invalidations@v1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
show-versioninfo: true
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-runtest@latest
env:
JULIA_NUM_THREADS: 2
Expand Down

0 comments on commit 726331f

Please sign in to comment.