@@ -40,11 +40,11 @@ jobs:
4040 CONTAINERD_VERSION : " ${{ matrix.containerd }}"
4141 ARCH : " ${{ matrix.arch }}"
4242 steps :
43- 43+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4444 with :
4545 fetch-depth : 1
4646 - 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
4848 - name : " Build dependencies for the integration test environment image"
4949 run : |
5050 docker buildx create --name with-gha --use
@@ -73,16 +73,15 @@ jobs:
7373 - os : ubuntu-24.04
7474 goos : linux
7575 steps :
76- 76+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7777 with :
7878 fetch-depth : 1
79- - uses : actions/setup-go@v5
79+ - uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
8080 with :
8181 go-version : ${{ env.GO_VERSION }}
8282 check-latest : true
83- cache : true
8483 - if : ${{ matrix.goos=='windows' }}
85- 84+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8685 with :
8786 repository : containerd/containerd
8887 ref : v1.7.24
@@ -126,11 +125,11 @@ jobs:
126125 ARCH : " ${{ matrix.arch }}"
127126 UBUNTU_VERSION : " ${{ matrix.ubuntu }}"
128127 steps :
129- 128+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
130129 with :
131130 fetch-depth : 1
132131 - 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
134133 - name : " Prepare integration test environment"
135134 run : |
136135 docker buildx create --name with-gha --use
@@ -175,15 +174,15 @@ jobs:
175174 ARCH : " ${{ matrix.arch }}"
176175 UBUNTU_VERSION : " ${{ matrix.ubuntu }}"
177176 steps :
178- 177+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
179178 with :
180179 fetch-depth : 1
181180 - name : Enable ipv4 and ipv6 forwarding
182181 run : |
183182 sudo sysctl -w net.ipv6.conf.all.forwarding=1
184183 sudo sysctl -w net.ipv4.ip_forward=1
185184 - 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
187186 - name : Enable IPv6 for Docker, and configure docker to use containerd for gha
188187 run : |
189188 sudo mkdir -p /etc/docker
@@ -271,7 +270,7 @@ jobs:
271270 }
272271 EOT
273272 sudo systemctl restart apparmor.service
274- 273+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
275274 with :
276275 fetch-depth : 1
277276 - name : " Register QEMU (tonistiigi/binfmt)"
@@ -284,7 +283,7 @@ jobs:
284283 docker run --privileged --rm tonistiigi/binfmt --install linux/arm64
285284 docker run --privileged --rm tonistiigi/binfmt --install linux/arm/v7
286285 - 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
288287 - name : " Prepare (network driver=slirp4netns, port driver=builtin)"
289288 run : |
290289 docker buildx create --name with-gha --use
@@ -313,13 +312,12 @@ jobs:
313312 matrix :
314313 go-version : ["1.22.x", "1.23.x"]
315314 steps :
316- 315+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
317316 with :
318317 fetch-depth : 1
319- - uses : actions/setup-go@v5
318+ - uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
320319 with :
321320 go-version : ${{ matrix.go-version }}
322- cache : true
323321 check-latest : true
324322 - name : " build"
325323 run : GO_VERSION="$(echo ${{ matrix.go-version }} | sed -e s/.x//)" make binaries
@@ -329,13 +327,12 @@ jobs:
329327 name : docker
330328 runs-on : ubuntu-24.04
331329 steps :
332- 330+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
333331 with :
334332 fetch-depth : 1
335- - uses : actions/setup-go@v5
333+ - uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
336334 with :
337335 go-version : ${{ env.GO_VERSION }}
338- cache : true
339336 check-latest : true
340337 - name : " Register QEMU (tonistiigi/binfmt)"
341338 run : |
@@ -365,17 +362,16 @@ jobs:
365362 run :
366363 shell : bash
367364 steps :
368- 365+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
369366 with :
370367 fetch-depth : 1
371- - uses : actions/setup-go@v5
368+ - uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
372369 with :
373370 go-version : ${{ env.GO_VERSION }}
374- cache : true
375371 check-latest : true
376372 - run : go install ./cmd/nerdctl
377373 - run : go install -v gotest.tools/gotestsum@v1
378- 374+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
379375 with :
380376 repository : containerd/containerd
381377 ref : v1.7.24
@@ -399,10 +395,10 @@ jobs:
399395 # ubuntu-24.04 lacks the vagrant package
400396 runs-on : ubuntu-22.04
401397 steps :
402- 398+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
403399 with :
404400 fetch-depth : 1
405- - uses : actions/cache@v4
401+ - uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
406402 with :
407403 path : /root/.vagrant.d
408404 key : vagrant-${{ matrix.box }}
0 commit comments