3030 runs-on : ${{ matrix.os }}
3131 continue-on-error : ${{ matrix.rust == 'beta' }}
3232 steps :
33+ - name : Harden the runner (Audit all outbound calls)
34+ uses : step-security/harden-runner@v2
35+ with :
36+ egress-policy : audit
37+
3338 - name : Free disk space
3439 if : ${{ matrix.os == 'ubuntu-latest'}}
3540 run : |
5459 lint :
5560 runs-on : ubuntu-latest
5661 steps :
62+ - name : Harden the runner (Audit all outbound calls)
63+ uses : step-security/harden-runner@v2
64+ with :
65+ egress-policy : audit
66+
5767 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5868 with :
5969 submodules : true
7787 example : [opentelemetry, opentelemetry-sdk, opentelemetry-otlp, opentelemetry-zipkin]
7888 runs-on : ubuntu-latest # TODO: Check if this could be covered for Windows. The step used currently fails on Windows.
7989 steps :
90+ - name : Harden the runner (Audit all outbound calls)
91+ uses : step-security/harden-runner@v2
92+ with :
93+ egress-policy : audit
94+
8095 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8196 - uses : dtolnay/rust-toolchain@a02741459ec5e501b9843ed30b535ca0a0376ae4
8297 with :
@@ -95,6 +110,11 @@ jobs:
95110 runs-on : ${{ matrix.os }}
96111 continue-on-error : true
97112 steps :
113+ - name : Harden the runner (Audit all outbound calls)
114+ uses : step-security/harden-runner@v2
115+ with :
116+ egress-policy : audit
117+
98118 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
99119 with :
100120 submodules : true
@@ -110,6 +130,11 @@ jobs:
110130 runs-on : ubuntu-latest # This uses the step `EmbarkStudios/cargo-deny-action@v1` which is only supported on Linux
111131 continue-on-error : true # Prevent sudden announcement of a new advisory from failing ci
112132 steps :
133+ - name : Harden the runner (Audit all outbound calls)
134+ uses : step-security/harden-runner@v2
135+ with :
136+ egress-policy : audit
137+
113138 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
114139 - uses : EmbarkStudios/cargo-deny-action@34899fc7ba81ca6268d5947a7a16b4649013fea1 # v2.0.11
115140 with :
@@ -118,6 +143,11 @@ jobs:
118143 continue-on-error : true
119144 runs-on : ubuntu-latest
120145 steps :
146+ - name : Harden the runner (Audit all outbound calls)
147+ uses : step-security/harden-runner@v2
148+ with :
149+ egress-policy : audit
150+
121151 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
122152 - uses : dtolnay/rust-toolchain@fcf085fcb4b4b8f63f96906cd713eb52181b5ea4
123153 with :
@@ -136,6 +166,11 @@ jobs:
136166 runs-on : ubuntu-latest
137167 if : ${{ ! contains(github.event.pull_request.labels.*.name, 'dependencies') }}
138168 steps :
169+ - name : Harden the runner (Audit all outbound calls)
170+ uses : step-security/harden-runner@v2
171+ with :
172+ egress-policy : audit
173+
139174 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
140175 with :
141176 submodules : true
@@ -163,6 +198,11 @@ jobs:
163198 continue-on-error : true
164199 runs-on : ubuntu-latest
165200 steps :
201+ - name : Harden the runner (Audit all outbound calls)
202+ uses : step-security/harden-runner@v2
203+ with :
204+ egress-policy : audit
205+
166206 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
167207 with :
168208 submodules : true
0 commit comments