Skip to content

Commit 6fe1492

Browse files
chore: pin actions to commit SHA
1 parent d3757e6 commit 6fe1492

1 file changed

Lines changed: 20 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,16 +139,24 @@ jobs:
139139
cache-bin: false
140140

141141
- name: Install latest cargo-deny
142-
uses: taiki-e/install-action@cargo-deny
142+
uses: taiki-e/install-action@e67fa11c4b9316fa714ddf0abed07a0c3143b95b # v2.87.4
143+
with:
144+
tool: cargo-deny
143145

144146
- name: Install latest cargo-machete
145-
uses: taiki-e/install-action@cargo-machete
147+
uses: taiki-e/install-action@e67fa11c4b9316fa714ddf0abed07a0c3143b95b # v2.87.4
148+
with:
149+
tool: cargo-machete
146150

147151
- name: Install latest cargo-semver-checks
148-
uses: taiki-e/install-action@cargo-semver-checks
152+
uses: taiki-e/install-action@e67fa11c4b9316fa714ddf0abed07a0c3143b95b # v2.87.4
153+
with:
154+
tool: cargo-semver-checks
149155

150156
- name: Install latest taplo
151-
uses: taiki-e/install-action@taplo
157+
uses: taiki-e/install-action@e67fa11c4b9316fa714ddf0abed07a0c3143b95b # v2.87.4
158+
with:
159+
tool: taplo
152160

153161
- name: Code format check
154162
run: rustfmt +${{ env.NIGHTLY_TOOLCHAIN }} --check --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate,skip_children=true" $(git ls-files '*.rs')
@@ -346,7 +354,9 @@ jobs:
346354
echo "RUSTFLAGS=-Clink-arg=/DEBUG:NONE" >> $GITHUB_ENV
347355
348356
- name: Install latest nextest
349-
uses: taiki-e/install-action@nextest
357+
uses: taiki-e/install-action@e67fa11c4b9316fa714ddf0abed07a0c3143b95b # v2.87.4
358+
with:
359+
tool: cargo-nextest
350360

351361
- name: Run tests with SHM (sudo macos)
352362
if: ${{ matrix.os == 'macos-latest' }}
@@ -464,7 +474,7 @@ jobs:
464474
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
465475

466476
- name: Check spelling
467-
uses: crate-ci/typos@master
477+
uses: crate-ci/typos@d43b6c087ac471e2ea7b8af622ff15f05c0c365b # v1.50.1
468478

469479
markdown_lint:
470480
runs-on: ubuntu-latest
@@ -507,7 +517,7 @@ jobs:
507517
runs-on: ${{ matrix.os }}
508518
steps:
509519
- name: Free Disk Space (Ubuntu)
510-
uses: jlumbroso/free-disk-space@main
520+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
511521
with:
512522
tool-cache: false
513523
android: true
@@ -538,7 +548,9 @@ jobs:
538548
cache-bin: false
539549

540550
- name: Install cargo-llvm-cov
541-
uses: taiki-e/install-action@cargo-llvm-cov
551+
uses: taiki-e/install-action@e67fa11c4b9316fa714ddf0abed07a0c3143b95b # v2.87.4
552+
with:
553+
tool: cargo-llvm-cov
542554

543555
- name: Generate code coverage
544556
env:

0 commit comments

Comments
 (0)