mirror of
https://github.com/crate-ci/typos.git
synced 2026-11-13 01:23:56 +01:00
chore(ci): Switch to versioned install action
This commit is contained in:
1 parent
18b5384201
commit
18b0c5ea44
2 files changed
+12
-4
No files matched your search
@@ -51,7 +51,9 @@ jobs:
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
|
||||
- uses: taiki-e/install-action@4fea3cb182fc2e9b0c29175fd0624e1489b7510f # cargo-hack
|
||||
- uses: taiki-e/install-action@97a5807a604e12de3a13b52d868ebecaeeea757c # v2.75.4
|
||||
with:
|
||||
tool: cargo-hack
|
||||
- name: Build
|
||||
run: cargo test --workspace --no-run
|
||||
- name: Test
|
||||
@@ -72,7 +74,9 @@ jobs:
|
||||
with:
|
||||
toolchain: stable
|
||||
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
|
||||
- uses: taiki-e/install-action@4fea3cb182fc2e9b0c29175fd0624e1489b7510f # cargo-hack
|
||||
- uses: taiki-e/install-action@97a5807a604e12de3a13b52d868ebecaeeea757c # v2.75.4
|
||||
with:
|
||||
tool: cargo-hack
|
||||
- name: Default features
|
||||
run: cargo hack check --each-feature --locked --rust-version --ignore-private --workspace --all-targets --keep-going
|
||||
minimal-versions:
|
||||
|
||||
@@ -41,7 +41,9 @@ jobs:
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
|
||||
- uses: taiki-e/install-action@4fea3cb182fc2e9b0c29175fd0624e1489b7510f # cargo-hack
|
||||
- uses: taiki-e/install-action@97a5807a604e12de3a13b52d868ebecaeeea757c # v2.75.4
|
||||
with:
|
||||
tool: cargo-hack
|
||||
- name: Build
|
||||
run: cargo test --workspace --no-run
|
||||
- name: Test
|
||||
@@ -64,7 +66,9 @@ jobs:
|
||||
with:
|
||||
toolchain: stable
|
||||
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
|
||||
- uses: taiki-e/install-action@4fea3cb182fc2e9b0c29175fd0624e1489b7510f # cargo-hack
|
||||
- uses: taiki-e/install-action@97a5807a604e12de3a13b52d868ebecaeeea757c # v2.75.4
|
||||
with:
|
||||
tool: cargo-hack
|
||||
- name: Update dependencies
|
||||
run: cargo update
|
||||
- name: Build
|
||||
|
||||
Reference in new issue
Block a user