2929 runs-on : ${{ matrix.os }}
3030 continue-on-error : ${{ matrix.rust == 'beta' }}
3131 steps :
32+ - name : Harden the runner (Audit all outbound calls)
33+ uses : step-security/harden-runner@v2
34+ with :
35+ egress-policy : audit
36+
3237 - name : Free disk space
3338 if : ${{ matrix.os == 'ubuntu-latest'}}
3439 run : |
5358 lint :
5459 runs-on : ubuntu-latest
5560 steps :
61+ - name : Harden the runner (Audit all outbound calls)
62+ uses : step-security/harden-runner@v2
63+ with :
64+ egress-policy : audit
65+
5666 - uses : actions/checkout@v4
5767 with :
5868 submodules : true
7585 example : [opentelemetry, opentelemetry-sdk, opentelemetry-otlp, opentelemetry-zipkin]
7686 runs-on : ubuntu-latest # TODO: Check if this could be covered for Windows. The step used currently fails on Windows.
7787 steps :
88+ - name : Harden the runner (Audit all outbound calls)
89+ uses : step-security/harden-runner@v2
90+ with :
91+ egress-policy : audit
92+
7893 - uses : actions/checkout@v4
7994 - uses : dtolnay/rust-toolchain@nightly
8095 with :
@@ -93,6 +108,11 @@ jobs:
93108 runs-on : ${{ matrix.os }}
94109 continue-on-error : true
95110 steps :
111+ - name : Harden the runner (Audit all outbound calls)
112+ uses : step-security/harden-runner@v2
113+ with :
114+ egress-policy : audit
115+
96116 - uses : actions/checkout@v4
97117 with :
98118 submodules : true
@@ -108,6 +128,11 @@ jobs:
108128 runs-on : ubuntu-latest # This uses the step `EmbarkStudios/cargo-deny-action@v1` which is only supported on Linux
109129 continue-on-error : true # Prevent sudden announcement of a new advisory from failing ci
110130 steps :
131+ - name : Harden the runner (Audit all outbound calls)
132+ uses : step-security/harden-runner@v2
133+ with :
134+ egress-policy : audit
135+
111136 - uses : actions/checkout@v4
112137 - uses : EmbarkStudios/cargo-deny-action@v2
113138 with :
@@ -116,6 +141,11 @@ jobs:
116141 continue-on-error : true
117142 runs-on : ubuntu-latest
118143 steps :
144+ - name : Harden the runner (Audit all outbound calls)
145+ uses : step-security/harden-runner@v2
146+ with :
147+ egress-policy : audit
148+
119149 - uses : actions/checkout@v4
120150 - uses : dtolnay/rust-toolchain@stable
121151 with :
@@ -133,6 +163,11 @@ jobs:
133163 runs-on : ubuntu-latest
134164 if : ${{ ! contains(github.event.pull_request.labels.*.name, 'dependencies') }}
135165 steps :
166+ - name : Harden the runner (Audit all outbound calls)
167+ uses : step-security/harden-runner@v2
168+ with :
169+ egress-policy : audit
170+
136171 - uses : actions/checkout@v4
137172 with :
138173 submodules : true
@@ -160,6 +195,11 @@ jobs:
160195 continue-on-error : true
161196 runs-on : ubuntu-latest
162197 steps :
198+ - name : Harden the runner (Audit all outbound calls)
199+ uses : step-security/harden-runner@v2
200+ with :
201+ egress-policy : audit
202+
163203 - uses : actions/checkout@v4
164204 with :
165205 submodules : true
0 commit comments