3737 changed-tests-files : ${{ steps.changed-files-yaml.outputs.tests_any_changed }}
3838 steps :
3939 # Checkout the repository
40+ - name : Harden the runner (Audit all outbound calls)
41+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
42+ with :
43+ egress-policy : audit
44+
4045 - name : Checkout Code
4146 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4247 - name : Get changed files
7176 - clippy
7277 runs-on : ubuntu-latest
7378 steps :
79+ - name : Harden the runner (Audit all outbound calls)
80+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
81+ with :
82+ egress-policy : audit
83+
7484 - name : Failed
7585 run : exit 1
7686 if : contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
8090 needs : changed_files
8191 steps :
8292 # Checkout the repository
93+ - name : Harden the runner (Audit all outbound calls)
94+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
95+ with :
96+ egress-policy : audit
97+
8398 - name : Checkout Code
8499 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
85100 - name : Prepare
90105 - name : Get cache-hit output
91106 run : ' echo "Cache hit >>>>>: ${{ steps.init.outputs.cache-hit }}"'
92107 - name : Install cargo hack
93- uses : taiki-e/install-action@cargo-hack
108+ uses : taiki-e/install-action@7689010b667477e55299b24c373cdf719c945fdf # cargo-hack
94109
95110 # Check the minimum supported Rust version
96111 - name : Default features
@@ -101,6 +116,11 @@ jobs:
101116 runs-on : ubuntu-latest
102117 steps :
103118 # Checkout the repository
119+ - name : Harden the runner (Audit all outbound calls)
120+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
121+ with :
122+ egress-policy : audit
123+
104124 - name : Checkout Code
105125 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
106126 - name : Prepare
@@ -120,6 +140,11 @@ jobs:
120140 runs-on : ubuntu-latest
121141 steps :
122142 # Checkout the repository
143+ - name : Harden the runner (Audit all outbound calls)
144+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
145+ with :
146+ egress-policy : audit
147+
123148 - name : Checkout Code
124149 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
125150 - name : Prepare
@@ -162,10 +187,15 @@ jobs:
162187 runs-on : ubuntu-latest
163188 steps :
164189 # Checkout the repository
190+ - name : Harden the runner (Audit all outbound calls)
191+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
192+ with :
193+ egress-policy : audit
194+
165195 - name : Checkout Code
166196 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
167197 - name : Setup Node.js
168- uses : actions/setup-node@v4
198+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
169199 with :
170200 node-version : ' 20'
171201 - name : Install TypeScript and ts-node
@@ -195,9 +225,9 @@ jobs:
195225 - name : Get cache-hit output
196226 run : ' echo "Cache hit >>>>>: ${{ steps.init.outputs.cache-hit }}"'
197227 - name : Install cargo hack
198- uses : taiki-e/install-action@cargo-hack
228+ uses : taiki-e/install-action@7689010b667477e55299b24c373cdf719c945fdf # cargo-hack
199229 - name : Install cargo-llvm-cov
200- uses : taiki-e/install-action@cargo-llvm-cov
230+ uses : taiki-e/install-action@16edcff251c6bb06f6878981359f84b77b28e7e2 # cargo-llvm-cov
201231 - name : Build
202232 run : cargo test --no-run --locked
203233
@@ -263,6 +293,11 @@ jobs:
263293 ${{ github.event.pull_request.draft == false && needs.changed_files.outputs.changed-docker-files == 'true' }}
264294 steps :
265295 # Checkout the repository
296+ - name : Harden the runner (Audit all outbound calls)
297+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
298+ with :
299+ egress-policy : audit
300+
266301 - name : Checkout Code
267302 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
268303 - name : Set up Docker Buildx
0 commit comments