Skip to content

Commit c271b8d

Browse files
authored
Merge pull request #7 from chenrui333/pin-to-use-sha
chore(workflows): pin to use sha
2 parents 36cce1f + 7df75a9 commit c271b8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
name: Check
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2121

2222
- name: Install Rust toolchain
23-
uses: dtolnay/rust-toolchain@stable
23+
uses: dtolnay/rust-toolchain@1ff72ee08e3cb84d84adba594e0a297990fc1ed3 # stable
2424
with:
2525
components: rustfmt, clippy
2626

2727
- name: Rust Cache
28-
uses: Swatinem/rust-cache@v2
28+
uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2
2929

3030
- name: Check formatting
3131
run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)