Skip to content

Commit 87b0135

Browse files
authored
Add cache to CI (#395)
* add cache to CI * fix order of cache action
1 parent 9fc2b47 commit 87b0135

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/Documenter.yml

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
Documenter:
1111
permissions:
12+
actions: write
1213
contents: write
1314
pull-requests: read
1415
statuses: write
@@ -20,6 +21,7 @@ jobs:
2021
with:
2122
version: '1.10'
2223
show-versioninfo: true # this causes versioninfo to be printed to the action log
24+
- uses: julia-actions/cache@v2
2325
- uses: julia-actions/julia-buildpkg@latest
2426
- uses: julia-actions/julia-docdeploy@latest
2527
env:

.github/workflows/Invalidations.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
with:
2121
version: '1'
2222
- uses: actions/checkout@v4
23+
- uses: julia-actions/cache@v2
2324
- uses: julia-actions/julia-buildpkg@v1
2425
- uses: julia-actions/julia-invalidations@v1
2526
id: invs_pr

.github/workflows/test.yml

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ jobs:
5454
- uses: julia-actions/setup-julia@latest
5555
with:
5656
version: ${{ matrix.version }}
57+
show-versioninfo: true
58+
- uses: julia-actions/cache@v2
5759
- uses: julia-actions/julia-runtest@latest
5860
env:
5961
JULIA_NUM_THREADS: 2

0 commit comments

Comments
 (0)