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()
@@ -167,7 +167,7 @@ jobs:
167167 echo "MODE_ENGINE_PAIR=${mode}-${engine}" >> $GITHUB_ENV
168168
169169 - name : Checkout
170- uses : actions/checkout@v4
170+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4.2.2
171171
172172 - name : Install Docker ${{ matrix.engine }}
173173 run : |
@@ -181,15 +181,15 @@ jobs:
181181 run : docker --version
182182
183183 - name : Set up Docker Buildx
184- uses : docker/setup-buildx-action@v3
184+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # tag=v3.11.1
185185
186186 - name : Set up Docker Model
187187 run : |
188188 sudo apt-get install docker-model-plugin
189189 docker model version
190190
191191 - name : Set up Go
192- uses : actions/setup-go@v5
192+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # tag=v5.5.0
193193 with :
194194 go-version-file : ' go.mod'
195195 check-latest : true
@@ -199,7 +199,7 @@ jobs:
199199 run : make example-provider
200200
201201 - name : Build
202- uses : docker/bake-action@v6
202+ uses : docker/bake-action@37816e747588cb137173af99ab33873600c46ea8 # tag=v6.8.0
203203 with :
204204 source : .
205205 targets : binary-with-coverage
@@ -212,7 +212,7 @@ jobs:
212212
213213 - name : Setup tmate session
214214 if : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
215- uses : mxschmitt/action-tmate@8b4e4ac71822ed7e0ad5fb3d1c33483e9e8fb270 # v3.11
215+ uses : mxschmitt/action-tmate@8b4e4ac71822ed7e0ad5fb3d1c33483e9e8fb270 # tag= v3.11
216216 with :
217217 limit-access-to-actor : true
218218 github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -226,7 +226,7 @@ jobs:
226226
227227 - name : Gather coverage data
228228 if : ${{ matrix.mode == 'plugin' }}
229- uses : actions/upload-artifact@v4
229+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # tag=v4.6.2
230230 with :
231231 name : coverage-data-e2e-${{ env.MODE_ENGINE_PAIR }}
232232 path : bin/coverage/e2e/
@@ -240,7 +240,7 @@ jobs:
240240 make e2e-compose-standalone
241241
242242 - name : e2e Test Summary
243- uses : test-summary/action@v2
243+ uses : test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # tag=v2.4
244244 with :
245245 paths : /tmp/report/report.xml
246246 if : always()
@@ -252,20 +252,20 @@ jobs:
252252 steps :
253253 # codecov won't process the report without the source code available
254254 - name : Checkout
255- uses : actions/checkout@v4
255+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
256256 - name : Set up Go
257- uses : actions/setup-go@v5
257+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
258258 with :
259259 go-version-file : ' go.mod'
260260 check-latest : true
261261 - name : Download unit test coverage
262- uses : actions/download-artifact@v4
262+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
263263 with :
264264 name : coverage-data-unit
265265 path : coverage/unit
266266 merge-multiple : true
267267 - name : Download E2E test coverage
268- uses : actions/download-artifact@v4
268+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
269269 with :
270270 pattern : coverage-data-e2e-*
271271 path : coverage/e2e
@@ -274,13 +274,13 @@ jobs:
274274 run : |
275275 go tool covdata textfmt -i=./coverage/unit,./coverage/e2e -o ./coverage.txt
276276 - name : Store coverage report in GitHub Actions
277- uses : actions/upload-artifact@v4
277+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
278278 with :
279279 name : go-covdata-txt
280280 path : ./coverage.txt
281281 if-no-files-found : error
282282 - name : Upload coverage to Codecov
283- uses : codecov/codecov-action@v3
283+ uses : codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6
284284 with :
285285 files : ./coverage.txt
286286
@@ -294,10 +294,10 @@ jobs:
294294 steps :
295295 -
296296 name : Checkout
297- uses : actions/checkout@v4
297+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
298298 -
299299 name : Download artifacts
300- uses : actions/download-artifact@v4
300+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
301301 with :
302302 pattern : compose-*
303303 path : ./bin/release
@@ -325,7 +325,7 @@ jobs:
325325 -
326326 name : GitHub Release
327327 if : startsWith(github.ref, 'refs/tags/v')
328- uses : ncipollo/release-action@58ae73b360456532aafd58ee170c045abbeaee37 # v1.10.0
328+ uses : ncipollo/release-action@58ae73b360456532aafd58ee170c045abbeaee37 # tag= v1.10.0
329329 with :
330330 artifacts : ./bin/release/*
331331 generateReleaseNotes : true
0 commit comments