Skip to content

Commit eb59ffb

Browse files
committed
.github/workflows/build: Update to use setup-rust-toolchain and cache key
Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
1 parent 59c2cc7 commit eb59ffb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ jobs:
2121
ARCH: ${{ matrix.config.arch }}
2222
steps:
2323
- uses: actions/checkout@v4
24-
- uses: Swatinem/rust-cache@v2
25-
with:
26-
workspaces: |
27-
"containerd-shim-* -> target"
24+
- uses: actions-rust-lang/setup-rust-toolchain@v1
25+
env:
26+
RUST_CACHE_KEY_OS: rust-cache-${{ matrix.config.os }}-{{ matrix.config.arch}}
2827
- name: Setup build env
2928
run: |
3029
make setup

0 commit comments

Comments
 (0)