29
29
steps :
30
30
-
31
31
name : Checkout
32
- uses : actions/checkout@v4
32
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33
33
-
34
34
name : Create matrix
35
35
id : platforms
@@ -53,10 +53,10 @@ jobs:
53
53
steps :
54
54
-
55
55
name : Checkout
56
- uses : actions/checkout@v4
56
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
57
57
-
58
58
name : Set up Docker Buildx
59
- uses : docker/setup-buildx-action@v3
59
+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
60
60
-
61
61
name : Run
62
62
run : |
73
73
steps :
74
74
-
75
75
name : Checkout
76
- uses : actions/checkout@v4
76
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
77
77
-
78
78
name : Prepare
79
79
run : |
@@ -83,13 +83,13 @@ jobs:
83
83
MATRIX_PLATFORM : ${{ matrix.platform }}
84
84
-
85
85
name : Set up QEMU
86
- uses : docker/setup-qemu-action@v3
86
+ uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
87
87
-
88
88
name : Set up Docker Buildx
89
- uses : docker/setup-buildx-action@v3
89
+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
90
90
-
91
91
name : Build
92
- uses : docker/bake-action@v6
92
+ uses : docker/bake-action@37816e747588cb137173af99ab33873600c46ea8 # v6.8.0
93
93
with :
94
94
source : .
95
95
targets : release
@@ -114,7 +114,7 @@ jobs:
114
114
tree -nh ./bin/release
115
115
-
116
116
name : Upload artifacts
117
- uses : actions/upload-artifact@v4
117
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
118
118
with :
119
119
name : compose-${{ env.PLATFORM_PAIR }}
120
120
path : ./bin/release
@@ -125,25 +125,25 @@ jobs:
125
125
steps :
126
126
-
127
127
name : Set up Docker Buildx
128
- uses : docker/setup-buildx-action@v3
128
+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
129
129
-
130
130
name : Test
131
- uses : docker/bake-action@v6
131
+ uses : docker/bake-action@37816e747588cb137173af99ab33873600c46ea8 # v6.8.0
132
132
with :
133
133
targets : test
134
134
set : |
135
135
*.cache-from=type=gha,scope=test
136
136
*.cache-to=type=gha,scope=test
137
137
-
138
138
name : Gather coverage data
139
- uses : actions/upload-artifact@v4
139
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
140
140
with :
141
141
name : coverage-data-unit
142
142
path : bin/coverage/unit/
143
143
if-no-files-found : error
144
144
-
145
145
name : Unit Test Summary
146
- uses : test-summary/action@v2
146
+ uses : test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 v2.4
147
147
with :
148
148
paths : bin/coverage/unit/report.xml
149
149
if : always()
@@ -167,7 +167,7 @@ jobs:
167
167
echo "MODE_ENGINE_PAIR=${mode}-${engine}" >> $GITHUB_ENV
168
168
169
169
- name : Checkout
170
- uses : actions/checkout@v4
170
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
171
171
172
172
- name : Install Docker ${{ matrix.engine }}
173
173
run : |
@@ -181,15 +181,15 @@ jobs:
181
181
run : docker --version
182
182
183
183
- name : Set up Docker Buildx
184
- uses : docker/setup-buildx-action@v3
184
+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
185
185
186
186
- name : Set up Docker Model
187
187
run : |
188
188
sudo apt-get install docker-model-plugin
189
189
docker model version
190
190
191
191
- name : Set up Go
192
- uses : actions/setup-go@v5
192
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
193
193
with :
194
194
go-version-file : ' go.mod'
195
195
check-latest : true
@@ -199,7 +199,7 @@ jobs:
199
199
run : make example-provider
200
200
201
201
- name : Build
202
- uses : docker/bake-action@v6
202
+ uses : docker/bake-action@37816e747588cb137173af99ab33873600c46ea8 # v6.8.0
203
203
with :
204
204
source : .
205
205
targets : binary-with-coverage
@@ -226,7 +226,7 @@ jobs:
226
226
227
227
- name : Gather coverage data
228
228
if : ${{ matrix.mode == 'plugin' }}
229
- uses : actions/upload-artifact@v4
229
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
230
230
with :
231
231
name : coverage-data-e2e-${{ env.MODE_ENGINE_PAIR }}
232
232
path : bin/coverage/e2e/
@@ -240,7 +240,7 @@ jobs:
240
240
make e2e-compose-standalone
241
241
242
242
- name : e2e Test Summary
243
- uses : test-summary/action@v2
243
+ uses : test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 v2.4
244
244
with :
245
245
paths : /tmp/report/report.xml
246
246
if : always()
@@ -252,20 +252,20 @@ jobs:
252
252
steps :
253
253
# codecov won't process the report without the source code available
254
254
- name : Checkout
255
- uses : actions/checkout@v4
255
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
256
256
- name : Set up Go
257
- uses : actions/setup-go@v5
257
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
258
258
with :
259
259
go-version-file : ' go.mod'
260
260
check-latest : true
261
261
- name : Download unit test coverage
262
- uses : actions/download-artifact@v4
262
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
263
263
with :
264
264
name : coverage-data-unit
265
265
path : coverage/unit
266
266
merge-multiple : true
267
267
- name : Download E2E test coverage
268
- uses : actions/download-artifact@v4
268
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
269
269
with :
270
270
pattern : coverage-data-e2e-*
271
271
path : coverage/e2e
@@ -274,13 +274,13 @@ jobs:
274
274
run : |
275
275
go tool covdata textfmt -i=./coverage/unit,./coverage/e2e -o ./coverage.txt
276
276
- name : Store coverage report in GitHub Actions
277
- uses : actions/upload-artifact@v4
277
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
278
278
with :
279
279
name : go-covdata-txt
280
280
path : ./coverage.txt
281
281
if-no-files-found : error
282
282
- name : Upload coverage to Codecov
283
- uses : codecov/codecov-action@v3
283
+ uses : codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3.1.6
284
284
with :
285
285
files : ./coverage.txt
286
286
@@ -294,10 +294,10 @@ jobs:
294
294
steps :
295
295
-
296
296
name : Checkout
297
- uses : actions/checkout@v4
297
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
298
298
-
299
299
name : Download artifacts
300
- uses : actions/download-artifact@v4
300
+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
301
301
with :
302
302
pattern : compose-*
303
303
path : ./bin/release
0 commit comments