2727 changed-tests-files : ${{ steps.changed-files-yaml.outputs.tests_any_changed }}
2828 steps :
2929 # Checkout the repository
30+ - name : Harden the runner (Audit all outbound calls)
31+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
32+ with :
33+ egress-policy : audit
34+
3035 - name : Checkout Code
3136 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3237 - name : Get changed files
5863 needs : [test, msrv, rustfmt, clippy]
5964 runs-on : ubuntu-latest
6065 steps :
66+ - name : Harden the runner (Audit all outbound calls)
67+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
68+ with :
69+ egress-policy : audit
70+
6171 - name : Failed
6272 run : exit 1
6373 if : contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
6979 timeout-minutes : 10
7080 steps :
7181 # Checkout the repository
82+ - name : Harden the runner (Audit all outbound calls)
83+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
84+ with :
85+ egress-policy : audit
86+
7287 - name : Checkout Code
7388 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7489 - name : Prepare
7994 - name : Get cache-hit output
8095 run : ' echo "Cache hit >>>>>: ${{ steps.init.outputs.cache-hit }}"'
8196 - name : Install cargo hack
82- uses : taiki-e/install-action@cargo-hack
97+ uses : taiki-e/install-action@7689010b667477e55299b24c373cdf719c945fdf # cargo-hack
8398
8499 # Check the minimum supported Rust version
85100 - name : Default features
@@ -92,6 +107,11 @@ jobs:
92107 timeout-minutes : 10
93108 steps :
94109 # Checkout the repository
110+ - name : Harden the runner (Audit all outbound calls)
111+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
112+ with :
113+ egress-policy : audit
114+
95115 - name : Checkout Code
96116 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
97117 - name : Prepare
@@ -115,6 +135,11 @@ jobs:
115135 timeout-minutes : 10
116136 steps :
117137 # Checkout the repository
138+ - name : Harden the runner (Audit all outbound calls)
139+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
140+ with :
141+ egress-policy : audit
142+
118143 - name : Checkout Code
119144 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
120145 - name : Prepare
@@ -138,6 +163,11 @@ jobs:
138163 timeout-minutes : 20
139164 steps :
140165 # Checkout the repository
166+ - name : Harden the runner (Audit all outbound calls)
167+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
168+ with :
169+ egress-policy : audit
170+
141171 - name : Checkout Code
142172 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
143173 - name : Prepare
@@ -150,9 +180,9 @@ jobs:
150180 - name : Get cache-hit output
151181 run : ' echo "Cache hit >>>>>: ${{ steps.init.outputs.cache-hit }}"'
152182 - name : Install cargo hack
153- uses : taiki-e/install-action@cargo-hack
183+ uses : taiki-e/install-action@7689010b667477e55299b24c373cdf719c945fdf # cargo-hack
154184 - name : Install cargo-llvm-cov
155- uses : taiki-e/install-action@cargo-llvm-cov
185+ uses : taiki-e/install-action@16edcff251c6bb06f6878981359f84b77b28e7e2 # cargo-llvm-cov
156186 - name : Build
157187 run : cargo test --no-run --locked
158188
@@ -212,6 +242,11 @@ jobs:
212242 ${{ github.event.pull_request.draft == false && needs.changed_files.outputs.changed-docker-files == 'true' }}
213243 steps :
214244 # Checkout the repository
245+ - name : Harden the runner (Audit all outbound calls)
246+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
247+ with :
248+ egress-policy : audit
249+
215250 - name : Checkout Code
216251 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
217252 - name : Prepare
0 commit comments