@@ -35,17 +35,17 @@ jobs:
3535 steps :
3636 -
3737 name : Checkout
38- uses : actions/checkout@v4
38+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3939 -
4040 name : Set up Docker Buildx
41- uses : docker/setup-buildx-action@v3
41+ uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
4242 -
4343 name : Run
4444 run : |
4545 make ${{ matrix.target }}
4646
4747 binary :
48- uses : docker/github-builder/.github/workflows/bake.yml@v1.4.0
48+ uses : docker/github-builder/.github/workflows/bake.yml@70313223e2665c3211b454b3fea6534624e78d64 # v1.4.0
4949 permissions :
5050 contents : read # same as global permission
5151 id-token : write # for signing attestation(s) with GitHub OIDC Token
6767 steps :
6868 -
6969 name : Download artifacts
70- uses : actions/download-artifact@v7
70+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
7171 with :
7272 path : /tmp/compose-output
7373 name : ${{ needs.binary.outputs.artifact-name }}
@@ -103,15 +103,15 @@ jobs:
103103 done
104104 -
105105 name : Upload artifacts
106- uses : actions/upload-artifact@v6
106+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
107107 with :
108108 name : release
109109 path : ./bin/release/*
110110 if-no-files-found : error
111111
112112 bin-image-test :
113113 if : github.event_name == 'pull_request'
114- uses : docker/github-builder/.github/workflows/bake.yml@v1.4.0
114+ uses : docker/github-builder/.github/workflows/bake.yml@70313223e2665c3211b454b3fea6534624e78d64 # v1.4.0
115115 with :
116116 runner : amd64
117117 target : image-cross
@@ -132,25 +132,25 @@ jobs:
132132 steps :
133133 -
134134 name : Set up Docker Buildx
135- uses : docker/setup-buildx-action@v3
135+ uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
136136 -
137137 name : Test
138- uses : docker/bake-action@v6
138+ uses : docker/bake-action@5be5f02ff8819ecd3092ea6b2e6261c31774f2b4 # v6
139139 with :
140140 targets : test
141141 set : |
142142 *.cache-from=type=gha,scope=test
143143 *.cache-to=type=gha,scope=test
144144 -
145145 name : Gather coverage data
146- uses : actions/upload-artifact@v4
146+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
147147 with :
148148 name : coverage-data-unit
149149 path : bin/coverage/unit/
150150 if-no-files-found : error
151151 -
152152 name : Unit Test Summary
153- uses : test-summary/action@v2
153+ uses : test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2
154154 with :
155155 paths : bin/coverage/unit/report.xml
156156 if : always()
@@ -185,7 +185,7 @@ jobs:
185185 echo "MODE_ENGINE_PAIR=${mode}-${engine}" >> $GITHUB_ENV
186186
187187 - name : Checkout
188- uses : actions/checkout@v4
188+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
189189
190190 - name : Install Docker ${{ matrix.engine }}
191191 run : |
@@ -199,15 +199,15 @@ jobs:
199199 run : docker --version
200200
201201 - name : Set up Docker Buildx
202- uses : docker/setup-buildx-action@v3
202+ uses : docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
203203
204204 - name : Set up Docker Model
205205 run : |
206206 sudo apt-get install docker-model-plugin
207207 docker model version
208208
209209 - name : Set up Go
210- uses : actions/setup-go@v6
210+ uses : actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6
211211 with :
212212 go-version-file : ' .go-version'
213213 check-latest : true
@@ -217,7 +217,7 @@ jobs:
217217 run : make example-provider
218218
219219 - name : Build
220- uses : docker/bake-action@v6
220+ uses : docker/bake-action@5be5f02ff8819ecd3092ea6b2e6261c31774f2b4 # v6
221221 with :
222222 source : .
223223 targets : binary-with-coverage
@@ -244,7 +244,7 @@ jobs:
244244
245245 - name : Gather coverage data
246246 if : ${{ matrix.mode == 'plugin' }}
247- uses : actions/upload-artifact@v4
247+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
248248 with :
249249 name : coverage-data-e2e-${{ env.MODE_ENGINE_PAIR }}
250250 path : bin/coverage/e2e/
@@ -258,7 +258,7 @@ jobs:
258258 make e2e-compose-standalone
259259
260260 - name : e2e Test Summary
261- uses : test-summary/action@v2
261+ uses : test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2
262262 with :
263263 paths : /tmp/report/report.xml
264264 if : always()
@@ -271,20 +271,20 @@ jobs:
271271 steps :
272272 # codecov won't process the report without the source code available
273273 - name : Checkout
274- uses : actions/checkout@v4
274+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
275275 - name : Set up Go
276- uses : actions/setup-go@v6
276+ uses : actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6
277277 with :
278278 go-version-file : ' .go-version'
279279 check-latest : true
280280 - name : Download unit test coverage
281- uses : actions/download-artifact@v4
281+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
282282 with :
283283 name : coverage-data-unit
284284 path : coverage/unit
285285 merge-multiple : true
286286 - name : Download E2E test coverage
287- uses : actions/download-artifact@v4
287+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
288288 with :
289289 pattern : coverage-data-e2e-*
290290 path : coverage/e2e
@@ -293,13 +293,13 @@ jobs:
293293 run : |
294294 go tool covdata textfmt -i=./coverage/unit,./coverage/e2e -o ./coverage.txt
295295 - name : Store coverage report in GitHub Actions
296- uses : actions/upload-artifact@v4
296+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
297297 with :
298298 name : go-covdata-txt
299299 path : ./coverage.txt
300300 if-no-files-found : error
301301 - name : Upload coverage to Codecov
302- uses : codecov/codecov-action@v5
302+ uses : codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5
303303 with :
304304 files : ./coverage.txt
305305
@@ -312,10 +312,10 @@ jobs:
312312 steps :
313313 -
314314 name : Checkout
315- uses : actions/checkout@v4
315+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
316316 -
317317 name : Download artifacts
318- uses : actions/download-artifact@v7
318+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
319319 with :
320320 path : ./bin/release
321321 name : release
0 commit comments