@@ -40,11 +40,11 @@ jobs:
40
40
CONTAINERD_VERSION : " ${{ matrix.containerd }}"
41
41
ARCH : " ${{ matrix.arch }}"
42
42
steps :
43
-
43
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
44
44
with :
45
45
fetch-depth : 1
46
46
- name : " Expose GitHub Runtime variables for gha"
47
- uses : crazy-max/ghaction-github-runtime@v3
47
+ uses : crazy-max/ghaction-github-runtime@b3a9207c0e1ef41f4cf215303c976869d0c2c1c4 # v3.0.0
48
48
- name : " Build dependencies for the integration test environment image"
49
49
run : |
50
50
docker buildx create --name with-gha --use
@@ -73,16 +73,15 @@ jobs:
73
73
- os : ubuntu-24.04
74
74
goos : linux
75
75
steps :
76
-
76
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
77
77
with :
78
78
fetch-depth : 1
79
- - uses : actions/setup-go@v5
79
+ - uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
80
80
with :
81
81
go-version : ${{ env.GO_VERSION }}
82
82
check-latest : true
83
- cache : true
84
83
- if : ${{ matrix.goos=='windows' }}
85
-
84
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
86
85
with :
87
86
repository : containerd/containerd
88
87
ref : v1.7.24
@@ -126,11 +125,11 @@ jobs:
126
125
ARCH : " ${{ matrix.arch }}"
127
126
UBUNTU_VERSION : " ${{ matrix.ubuntu }}"
128
127
steps :
129
-
128
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
130
129
with :
131
130
fetch-depth : 1
132
131
- name : " Expose GitHub Runtime variables for gha"
133
- uses : crazy-max/ghaction-github-runtime@v3
132
+ uses : crazy-max/ghaction-github-runtime@b3a9207c0e1ef41f4cf215303c976869d0c2c1c4 # v3.0.0
134
133
- name : " Prepare integration test environment"
135
134
run : |
136
135
docker buildx create --name with-gha --use
@@ -175,15 +174,15 @@ jobs:
175
174
ARCH : " ${{ matrix.arch }}"
176
175
UBUNTU_VERSION : " ${{ matrix.ubuntu }}"
177
176
steps :
178
-
177
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
179
178
with :
180
179
fetch-depth : 1
181
180
- name : Enable ipv4 and ipv6 forwarding
182
181
run : |
183
182
sudo sysctl -w net.ipv6.conf.all.forwarding=1
184
183
sudo sysctl -w net.ipv4.ip_forward=1
185
184
- name : " Expose GitHub Runtime variables for gha"
186
- uses : crazy-max/ghaction-github-runtime@v3
185
+ uses : crazy-max/ghaction-github-runtime@b3a9207c0e1ef41f4cf215303c976869d0c2c1c4 # v3.0.0
187
186
- name : Enable IPv6 for Docker, and configure docker to use containerd for gha
188
187
run : |
189
188
sudo mkdir -p /etc/docker
@@ -271,7 +270,7 @@ jobs:
271
270
}
272
271
EOT
273
272
sudo systemctl restart apparmor.service
274
-
273
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
275
274
with :
276
275
fetch-depth : 1
277
276
- name : " Register QEMU (tonistiigi/binfmt)"
@@ -284,7 +283,7 @@ jobs:
284
283
docker run --privileged --rm tonistiigi/binfmt --install linux/arm64
285
284
docker run --privileged --rm tonistiigi/binfmt --install linux/arm/v7
286
285
- name : " Expose GitHub Runtime variables for gha"
287
- uses : crazy-max/ghaction-github-runtime@v3
286
+ uses : crazy-max/ghaction-github-runtime@b3a9207c0e1ef41f4cf215303c976869d0c2c1c4 # v3.0.0
288
287
- name : " Prepare (network driver=slirp4netns, port driver=builtin)"
289
288
run : |
290
289
docker buildx create --name with-gha --use
@@ -313,13 +312,12 @@ jobs:
313
312
matrix :
314
313
go-version : ["1.22.x", "1.23.x"]
315
314
steps :
316
-
315
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
317
316
with :
318
317
fetch-depth : 1
319
- - uses : actions/setup-go@v5
318
+ - uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
320
319
with :
321
320
go-version : ${{ matrix.go-version }}
322
- cache : true
323
321
check-latest : true
324
322
- name : " build"
325
323
run : GO_VERSION="$(echo ${{ matrix.go-version }} | sed -e s/.x//)" make binaries
@@ -329,13 +327,12 @@ jobs:
329
327
name : docker
330
328
runs-on : ubuntu-24.04
331
329
steps :
332
-
330
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
333
331
with :
334
332
fetch-depth : 1
335
- - uses : actions/setup-go@v5
333
+ - uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
336
334
with :
337
335
go-version : ${{ env.GO_VERSION }}
338
- cache : true
339
336
check-latest : true
340
337
- name : " Register QEMU (tonistiigi/binfmt)"
341
338
run : |
@@ -365,17 +362,16 @@ jobs:
365
362
run :
366
363
shell : bash
367
364
steps :
368
-
365
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
369
366
with :
370
367
fetch-depth : 1
371
- - uses : actions/setup-go@v5
368
+ - uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
372
369
with :
373
370
go-version : ${{ env.GO_VERSION }}
374
- cache : true
375
371
check-latest : true
376
372
- run : go install ./cmd/nerdctl
377
373
- run : go install -v gotest.tools/gotestsum@v1
378
-
374
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
379
375
with :
380
376
repository : containerd/containerd
381
377
ref : v1.7.24
@@ -399,10 +395,10 @@ jobs:
399
395
# ubuntu-24.04 lacks the vagrant package
400
396
runs-on : ubuntu-22.04
401
397
steps :
402
-
398
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
403
399
with :
404
400
fetch-depth : 1
405
- - uses : actions/cache@v4
401
+ - uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
406
402
with :
407
403
path : /root/.vagrant.d
408
404
key : vagrant-${{ matrix.box }}
0 commit comments