Skip to content

Commit 1fbdd69

Browse files
committed
Use julia actions cache in CI
1 parent d6fb726 commit 1fbdd69

1 file changed

Lines changed: 8 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ on:
1818
- 'LICENSE'
1919
- 'README.md'
2020
- '.github/workflows/TagBot.yml'
21+
22+
# needed to allow julia-actions/cache to delete old caches that it has created
23+
permissions:
24+
actions: write
25+
contents: read
26+
2127
jobs:
2228
pre_job:
2329
# continue-on-error: true # Uncomment once integration is finished
@@ -41,28 +47,17 @@ jobs:
4147
- '1'
4248
- 'lts'
4349
- 'pre'
50+
- 'min'
4451
os:
4552
- ubuntu-latest
4653
- macOS-latest
4754
- windows-latest
48-
arch:
49-
- x64
5055
steps:
5156
- uses: actions/checkout@v4
5257
- uses: julia-actions/setup-julia@v2
5358
with:
5459
version: ${{ matrix.version }}
55-
arch: ${{ matrix.arch }}
56-
- uses: actions/cache@v4
57-
env:
58-
cache-name: cache-artifacts
59-
with:
60-
path: ~/.julia/artifacts
61-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
62-
restore-keys: |
63-
${{ runner.os }}-test-${{ env.cache-name }}-
64-
${{ runner.os }}-test-
65-
${{ runner.os }}-
60+
- uses: julia-actions/cache@v2
6661
- uses: julia-actions/julia-buildpkg@v1
6762
- uses: julia-actions/julia-runtest@v1
6863
- uses: julia-actions/julia-processcoverage@v1

0 commit comments

Comments
 (0)