Skip to content

Commit 707a627

Browse files
committed
Always save cache
1 parent d866fe1 commit 707a627

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
steps:
7272
- uses: actions/checkout@v4
7373

74-
- uses: actions/cache@v4
74+
- uses: actions/cache/restore@v4
7575
with:
7676
path: |
7777
~/.avm
@@ -129,6 +129,21 @@ jobs:
129129
run: |
130130
cargo test --config "$GROUP_RUNNER"
131131
132+
- uses: actions/cache/save@v4
133+
if: always()
134+
with:
135+
path: |
136+
~/.avm
137+
~/.cargo/bin/
138+
~/.cargo/registry/index/
139+
~/.cargo/registry/cache/
140+
~/.cargo/git/db/
141+
~/.dylint_drivers/
142+
~/.rustup/toolchains/
143+
agave/
144+
target/dylint/
145+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
146+
132147
all-checks:
133148
needs: [test]
134149

0 commit comments

Comments
 (0)