Skip to content

Commit 0d1fa4e

Browse files
committed
Always save cache
1 parent 3b72b9b commit 0d1fa4e

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
@@ -126,6 +126,21 @@ jobs:
126126
run: |
127127
cargo test --config "$GROUP_RUNNER"
128128
129+
- uses: actions/cache/save@v4
130+
if: always()
131+
with:
132+
path: |
133+
~/.avm
134+
~/.cargo/bin/
135+
~/.cargo/registry/index/
136+
~/.cargo/registry/cache/
137+
~/.cargo/git/db/
138+
~/.dylint_drivers/
139+
~/.rustup/toolchains/
140+
agave/
141+
target/dylint/
142+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
143+
129144
all-checks:
130145
needs: [test]
131146

0 commit comments

Comments
 (0)