test: use taiki-e/install-action for cargo-hack (#2020)

This commit is contained in:
Luna Yao
2026-03-27 17:07:59 +01:00
committed by GitHub
parent e160d9b048
commit eaa4d2c7b8
+1 -2
View File
@@ -54,8 +54,7 @@ jobs:
rustup component add rustfmt
rustup component add clippy
- name: Install cargo-hack
run: cargo install cargo-hack --locked
- uses: taiki-e/install-action@cargo-hack
- name: Check formatting
run: cargo fmt --all -- --check