Skip to content

Commit 7565d21

Browse files
committed
feat(security): fleet-wide workflow hardening (SHA pinning + permissions)
1 parent 4fb3f48 commit 7565d21

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/rust-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
name: cargo check (stable)
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v4
24-
- uses: dtolnay/rust-toolchain@stable
23+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
24+
- uses: dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
2525
with:
2626
components: clippy, rustfmt
27-
- uses: Swatinem/rust-cache@v2
27+
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
2828
- name: cargo fmt
2929
run: cargo fmt --all -- --check
3030
- name: cargo clippy
@@ -41,11 +41,11 @@ jobs:
4141
- "1.85"
4242
- "stable"
4343
steps:
44-
- uses: actions/checkout@v4
45-
- uses: dtolnay/rust-toolchain@master
44+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
45+
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master
4646
with:
4747
toolchain: ${{ matrix.rust }}
48-
- uses: Swatinem/rust-cache@v2
48+
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
4949
with:
5050
key: ${{ matrix.rust }}
5151
- name: cargo test

0 commit comments

Comments
 (0)