88 test :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v6
12- - uses : dtolnay/rust-toolchain@stable
11+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
12+ - uses : dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # v1
1313 with :
14+ toolchain : stable
1415 components : rustfmt, clippy
15- - uses : Swatinem/rust-cache@v2
16-
16+ - uses : Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
17+
1718 - name : Check formatting
1819 run : cargo fmt --all -- --check
19-
20+
2021 - name : Clippy lints
2122 run : cargo clippy --all-targets --all-features -- -D warnings
22-
23+
2324 - name : Run tests
2425 run : cargo test --all-features
25-
26+
2627 - name : Build release
2728 run : cargo build --release
2829
2930 security :
3031 runs-on : ubuntu-latest
3132 steps :
32- - uses : actions/checkout@v6
33- - uses : dtolnay/rust-toolchain@stable
33+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
34+ - uses : dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # v1
35+ with :
36+ toolchain : stable
3437 - name : Install cargo-audit
3538 run : cargo install cargo-audit
3639 - name : Security audit
@@ -41,12 +44,14 @@ jobs:
4144 coverage :
4245 runs-on : ubuntu-latest
4346 steps :
44- - uses : actions/checkout@v6
45- - uses : dtolnay/rust-toolchain@stable
47+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
48+ - uses : dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # v1
49+ with :
50+ toolchain : stable
4651 - name : Install tarpaulin
4752 run : cargo install cargo-tarpaulin
4853 - name : Generate coverage
4954 run : cargo tarpaulin --out Xml
50- - uses : codecov/codecov-action@v5
55+ - uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
5156 with :
5257 files : cobertura.xml
0 commit comments