Skip to content

Commit 7649910

Browse files
committed
ci(repo): adjust setup rust
1 parent 87bfd57 commit 7649910

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/actions/setup-rust/action.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,13 @@ runs:
2525
target: ${{ inputs.target }}
2626
components: clippy, rustfmt
2727

28-
- uses: baptiste0928/cargo-install@v3
28+
- uses: taiki-e/cache-cargo-install-action@v2
2929
with:
30-
crate: cargo-sort
31-
version: "^1"
30+
tool: cargo-sort@1.0.9
3231

33-
- uses: baptiste0928/cargo-install@v3
32+
- uses: taiki-e/cache-cargo-install-action@v2
3433
with:
35-
crate: cargo-edit
36-
version: "^0.12"
34+
tool: cargo-edit@0.12.3
3735

3836
- name: Cache Rust toolchain and dependencies
3937
uses: actions/cache@v4

0 commit comments

Comments
 (0)