2929 steps :
3030 -
3131 name : Checkout
32- uses : actions/checkout@v4
32+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
3333 -
3434 name : Create matrix
3535 id : platforms
@@ -53,10 +53,10 @@ jobs:
5353 steps :
5454 -
5555 name : Checkout
56- uses : actions/checkout@v4
56+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
5757 -
5858 name : Set up Docker Buildx
59- uses : docker/setup-buildx-action@v3
59+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # tag=v3.11.1
6060 -
6161 name : Run
6262 run : |
7373 steps :
7474 -
7575 name : Checkout
76- uses : actions/checkout@v4
76+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
7777 -
7878 name : Prepare
7979 run : |
@@ -83,13 +83,13 @@ jobs:
8383 MATRIX_PLATFORM : ${{ matrix.platform }}
8484 -
8585 name : Set up QEMU
86- uses : docker/setup-qemu-action@v3
86+ uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # tag=v3.6.0
8787 -
8888 name : Set up Docker Buildx
89- uses : docker/setup-buildx-action@v3
89+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # tag=v3.11.1
9090 -
9191 name : Build
92- uses : docker/bake-action@v6
92+ uses : docker/bake-action@37816e747588cb137173af99ab33873600c46ea8 # tag=v6.8.0
9393 with :
9494 source : .
9595 targets : release
@@ -114,7 +114,7 @@ jobs:
114114 tree -nh ./bin/release
115115 -
116116 name : Upload artifacts
117- uses : actions/upload-artifact@v4
117+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # tag=v4.6.2
118118 with :
119119 name : compose-${{ env.PLATFORM_PAIR }}
120120 path : ./bin/release
@@ -125,25 +125,25 @@ jobs:
125125 steps :
126126 -
127127 name : Set up Docker Buildx
128- uses : docker/setup-buildx-action@v3
128+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # tag=v3.11.1
129129 -
130130 name : Test
131- uses : docker/bake-action@v6
131+ uses : docker/bake-action@37816e747588cb137173af99ab33873600c46ea8 # tag=v6.8.0
132132 with :
133133 targets : test
134134 set : |
135135 *.cache-from=type=gha,scope=test
136136 *.cache-to=type=gha,scope=test
137137 -
138138 name : Gather coverage data
139- uses : actions/upload-artifact@v4
139+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # tag=v4.6.2
140140 with :
141141 name : coverage-data-unit
142142 path : bin/coverage/unit/
143143 if-no-files-found : error
144144 -
145145 name : Unit Test Summary
146- uses : test-summary/action@v2
146+ uses : test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # tag=v2.4
147147 with :
148148 paths : bin/coverage/unit/report.xml
149149 if : always()
@@ -177,7 +177,7 @@ jobs:
177177 echo "MODE_ENGINE_PAIR=${mode}-${engine}" >> $GITHUB_ENV
178178
179179 - name : Checkout
180- uses : actions/checkout@v4
180+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
181181
182182 - name : Install Docker ${{ matrix.engine }}
183183 run : |
@@ -191,15 +191,15 @@ jobs:
191191 run : docker --version
192192
193193 - name : Set up Docker Buildx
194- uses : docker/setup-buildx-action@v3
194+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # tag=v3.11.1
195195
196196 - name : Set up Docker Model
197197 run : |
198198 sudo apt-get install docker-model-plugin
199199 docker model version
200200
201201 - name : Set up Go
202- uses : actions/setup-go@v6
202+ uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # tag=v6.1.0
203203 with :
204204 go-version-file : ' .go-version'
205205 check-latest : true
@@ -209,7 +209,7 @@ jobs:
209209 run : make example-provider
210210
211211 - name : Build
212- uses : docker/bake-action@v6
212+ uses : docker/bake-action@37816e747588cb137173af99ab33873600c46ea8 # tag=v6.8.0
213213 with :
214214 source : .
215215 targets : binary-with-coverage
@@ -222,7 +222,7 @@ jobs:
222222
223223 - name : Setup tmate session
224224 if : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
225- uses : mxschmitt/action-tmate@8b4e4ac71822ed7e0ad5fb3d1c33483e9e8fb270 # v3.11
225+ uses : mxschmitt/action-tmate@8b4e4ac71822ed7e0ad5fb3d1c33483e9e8fb270 # tag= v3.11
226226 with :
227227 limit-access-to-actor : true
228228 github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -236,7 +236,7 @@ jobs:
236236
237237 - name : Gather coverage data
238238 if : ${{ matrix.mode == 'plugin' }}
239- uses : actions/upload-artifact@v4
239+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # tag=v4.6.2
240240 with :
241241 name : coverage-data-e2e-${{ env.MODE_ENGINE_PAIR }}
242242 path : bin/coverage/e2e/
@@ -250,7 +250,7 @@ jobs:
250250 make e2e-compose-standalone
251251
252252 - name : e2e Test Summary
253- uses : test-summary/action@v2
253+ uses : test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # tag=v2.4
254254 with :
255255 paths : /tmp/report/report.xml
256256 if : always()
@@ -262,20 +262,20 @@ jobs:
262262 steps :
263263 # codecov won't process the report without the source code available
264264 - name : Checkout
265- uses : actions/checkout@v4
265+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
266266 - name : Set up Go
267- uses : actions/setup-go@v6
267+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
268268 with :
269269 go-version-file : ' .go-version'
270270 check-latest : true
271271 - name : Download unit test coverage
272- uses : actions/download-artifact@v4
272+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
273273 with :
274274 name : coverage-data-unit
275275 path : coverage/unit
276276 merge-multiple : true
277277 - name : Download E2E test coverage
278- uses : actions/download-artifact@v4
278+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
279279 with :
280280 pattern : coverage-data-e2e-*
281281 path : coverage/e2e
@@ -284,13 +284,13 @@ jobs:
284284 run : |
285285 go tool covdata textfmt -i=./coverage/unit,./coverage/e2e -o ./coverage.txt
286286 - name : Store coverage report in GitHub Actions
287- uses : actions/upload-artifact@v4
287+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
288288 with :
289289 name : go-covdata-txt
290290 path : ./coverage.txt
291291 if-no-files-found : error
292292 - name : Upload coverage to Codecov
293- uses : codecov/codecov-action@v3
293+ uses : codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6
294294 with :
295295 files : ./coverage.txt
296296
@@ -304,10 +304,10 @@ jobs:
304304 steps :
305305 -
306306 name : Checkout
307- uses : actions/checkout@v4
307+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
308308 -
309309 name : Download artifacts
310- uses : actions/download-artifact@v4
310+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
311311 with :
312312 pattern : compose-*
313313 path : ./bin/release
@@ -335,7 +335,7 @@ jobs:
335335 -
336336 name : GitHub Release
337337 if : startsWith(github.ref, 'refs/tags/v')
338- uses : ncipollo/release-action@58ae73b360456532aafd58ee170c045abbeaee37 # v1.10.0
338+ uses : ncipollo/release-action@58ae73b360456532aafd58ee170c045abbeaee37 # tag= v1.10.0
339339 with :
340340 artifacts : ./bin/release/*
341341 generateReleaseNotes : true
0 commit comments