@@ -29,11 +29,16 @@ jobs:
2929 runs-on : ubuntu-latest
3030
3131 steps :
32+ - name : Harden the runner (Audit all outbound calls)
33+ uses : step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
34+ with :
35+ egress-policy : audit
36+
3237 - name : Fetch Repository
3338 uses : actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
3439
3540 - name : Install stable toolchain
36- uses : actions-rust-lang/setup-rust-toolchain@v1
41+ uses : actions-rust-lang/setup-rust-toolchain@02be93da58aa71fb456aa9c43b301149248829d8 # v1.15.1
3742
3843 - name : cargo build
3944 run : cargo b --locked --all-targets --all-features
@@ -43,11 +48,16 @@ jobs:
4348 runs-on : ubuntu-latest
4449
4550 steps :
51+ - name : Harden the runner (Audit all outbound calls)
52+ uses : step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
53+ with :
54+ egress-policy : audit
55+
4656 - name : Fetch Repository
4757 uses : actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
4858
4959 - name : Install stable toolchain
50- uses : actions-rust-lang/setup-rust-toolchain@v1
60+ uses : actions-rust-lang/setup-rust-toolchain@02be93da58aa71fb456aa9c43b301149248829d8 # v1.15.1
5161 with :
5262 components : rustfmt
5363 toolchain : nightly
@@ -60,11 +70,16 @@ jobs:
6070 runs-on : ubuntu-latest
6171
6272 steps :
73+ - name : Harden the runner (Audit all outbound calls)
74+ uses : step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
75+ with :
76+ egress-policy : audit
77+
6378 - name : Fetch Repository
6479 uses : actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
6580
6681 - name : Install stable toolchain
67- uses : actions-rust-lang/setup-rust-toolchain@v1
82+ uses : actions-rust-lang/setup-rust-toolchain@02be93da58aa71fb456aa9c43b301149248829d8 # v1.15.1
6883 with :
6984 components : clippy
7085
7691 runs-on : ubuntu-latest
7792
7893 steps :
94+ - name : Harden the runner (Audit all outbound calls)
95+ uses : step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
96+ with :
97+ egress-policy : audit
98+
7999 - name : Fetch Repository
80100 uses : actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
81101
82102 - name : Check spelling of files in the workspace
83- uses : crate-ci/typos@v1
103+ uses : crate-ci/typos@0c17dabcee8b8f1957fa917d17393a23e02e1583 # v1.36.3
0 commit comments