@@ -29,13 +29,18 @@ jobs:
2929 permissions :
3030 contents : read
3131 steps :
32+ - name : Harden Runner
33+ uses : step-security/harden-runner@bdb12b622a910dfdc99a31fdfe6f45a16bc287a4 # v1
34+ with :
35+ egress-policy : audit # TODO: change to 'egress-policy: block' after couple of runs
36+
3237 - name : Install Protoc
3338 uses : arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
3439 with :
3540 version : 3.17.3
3641 - name : Cache builds
3742 # https://github.com/mvdan/github-actions-golang#how-do-i-set-up-caching-between-builds
38- uses : actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2.1.7
43+ uses : actions/cache@4b0cf6cc4619e737324ddfcec08fff2413359514 # v2.1.7
3944 with :
4045 # In order:
4146 # * Module download cache
@@ -66,13 +71,18 @@ jobs:
6671 permissions :
6772 contents : read
6873 steps :
74+ - name : Harden Runner
75+ uses : step-security/harden-runner@bdb12b622a910dfdc99a31fdfe6f45a16bc287a4 # v1
76+ with :
77+ egress-policy : audit # TODO: change to 'egress-policy: block' after couple of runs
78+
6979 - name : Install Protoc
7080 uses : arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
7181 with :
7282 version : 3.17.3
7383 - name : Cache builds
7484 # https://github.com/mvdan/github-actions-golang#how-do-i-set-up-caching-between-builds
75- uses : actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2.1.7
85+ uses : actions/cache@4b0cf6cc4619e737324ddfcec08fff2413359514 # v2.1.7
7686 with :
7787 # In order:
7888 # * Module download cache
@@ -103,13 +113,18 @@ jobs:
103113 permissions :
104114 contents : read
105115 steps :
116+ - name : Harden Runner
117+ uses : step-security/harden-runner@bdb12b622a910dfdc99a31fdfe6f45a16bc287a4 # v1
118+ with :
119+ egress-policy : audit # TODO: change to 'egress-policy: block' after couple of runs
120+
106121 - name : Install Protoc
107122 uses : arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
108123 with :
109124 version : 3.17.3
110125 - name : Cache builds
111126 # https://github.com/mvdan/github-actions-golang#how-do-i-set-up-caching-between-builds
112- uses : actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2.1.7
127+ uses : actions/cache@4b0cf6cc4619e737324ddfcec08fff2413359514 # v2.1.7
113128 with :
114129 # In order:
115130 # * Module download cache
@@ -140,13 +155,18 @@ jobs:
140155 permissions :
141156 contents : read
142157 steps :
158+ - name : Harden Runner
159+ uses : step-security/harden-runner@bdb12b622a910dfdc99a31fdfe6f45a16bc287a4 # v1
160+ with :
161+ egress-policy : audit # TODO: change to 'egress-policy: block' after couple of runs
162+
143163 - name : Install Protoc
144164 uses : arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
145165 with :
146166 version : 3.17.3
147167 - name : Cache builds
148168 # https://github.com/mvdan/github-actions-golang#how-do-i-set-up-caching-between-builds
149- uses : actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2.1.7
169+ uses : actions/cache@4b0cf6cc4619e737324ddfcec08fff2413359514 # v2.1.7
150170 with :
151171 # In order:
152172 # * Module download cache
@@ -177,13 +197,18 @@ jobs:
177197 permissions :
178198 contents : read
179199 steps :
200+ - name : Harden Runner
201+ uses : step-security/harden-runner@bdb12b622a910dfdc99a31fdfe6f45a16bc287a4 # v1
202+ with :
203+ egress-policy : audit # TODO: change to 'egress-policy: block' after couple of runs
204+
180205 - name : Install Protoc
181206 uses : arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
182207 with :
183208 version : 3.17.3
184209 - name : Cache builds
185210 # https://github.com/mvdan/github-actions-golang#how-do-i-set-up-caching-between-builds
186- uses : actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2.1.7
211+ uses : actions/cache@4b0cf6cc4619e737324ddfcec08fff2413359514 # v2.1.7
187212 with :
188213 # In order:
189214 # * Module download cache
@@ -214,13 +239,18 @@ jobs:
214239 permissions :
215240 contents : read
216241 steps :
242+ - name : Harden Runner
243+ uses : step-security/harden-runner@bdb12b622a910dfdc99a31fdfe6f45a16bc287a4 # v1
244+ with :
245+ egress-policy : audit # TODO: change to 'egress-policy: block' after couple of runs
246+
217247 - name : Install Protoc
218248 uses : arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
219249 with :
220250 version : 3.17.3
221251 - name : Cache builds
222252 # https://github.com/mvdan/github-actions-golang#how-do-i-set-up-caching-between-builds
223- uses : actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2.1.7
253+ uses : actions/cache@4b0cf6cc4619e737324ddfcec08fff2413359514 # v2.1.7
224254 with :
225255 # In order:
226256 # * Module download cache
@@ -251,13 +281,18 @@ jobs:
251281 permissions :
252282 contents : read
253283 steps :
284+ - name : Harden Runner
285+ uses : step-security/harden-runner@bdb12b622a910dfdc99a31fdfe6f45a16bc287a4 # v1
286+ with :
287+ egress-policy : audit # TODO: change to 'egress-policy: block' after couple of runs
288+
254289 - name : Install Protoc
255290 uses : arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
256291 with :
257292 version : 3.17.3
258293 - name : Cache builds
259294 # https://github.com/mvdan/github-actions-golang#how-do-i-set-up-caching-between-builds
260- uses : actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v2.1.7
295+ uses : actions/cache@4b0cf6cc4619e737324ddfcec08fff2413359514 # v2.1.7
261296 with :
262297 # In order:
263298 # * Module download cache
0 commit comments