Skip to content

Commit e9c594f

Browse files
committed
Switch actions/checkout to major version
Signed-off-by: apostasie <[email protected]>
1 parent 0c0737d commit e9c594f

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

.github/workflows/ghcr-image-build-and-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- name: Checkout repository
34-
uses: actions/checkout@v4.2.2
34+
uses: actions/checkout@v4
3535

3636
- name: Set up QEMU
3737
uses: docker/setup-qemu-action@v3

.github/workflows/lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
env:
3737
GOOS: "${{ matrix.goos }}"
3838
steps:
39-
- uses: actions/checkout@v4.2.2
39+
- uses: actions/checkout@v4
4040
with:
4141
fetch-depth: 1
4242
- name: Set GO env
@@ -60,7 +60,7 @@ jobs:
6060
name: yaml | shell | imports order
6161
runs-on: ubuntu-24.04
6262
steps:
63-
- uses: actions/checkout@v4.2.2
63+
- uses: actions/checkout@v4
6464
with:
6565
fetch-depth: 1
6666
- uses: actions/setup-go@v5

.github/workflows/project.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-24.04
1414
timeout-minutes: 20
1515
steps:
16-
- uses: actions/checkout@v4.2.2
16+
- uses: actions/checkout@v4
1717
with:
1818
path: src/github.com/containerd/nerdctl
1919
fetch-depth: 100

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-24.04
1111
timeout-minutes: 40
1212
steps:
13-
- uses: actions/checkout@v4.2.2
13+
- uses: actions/checkout@v4
1414
- uses: actions/setup-go@v5
1515
with:
1616
go-version: 1.23.x

.github/workflows/test-canary.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: "ubuntu-24.04"
2020
timeout-minutes: 40
2121
steps:
22-
- uses: actions/checkout@v4.2.2
22+
- uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 1
2525
- name: "Prepare integration test environment"
@@ -55,7 +55,7 @@ jobs:
5555
run:
5656
shell: bash
5757
steps:
58-
- uses: actions/checkout@v4.2.2
58+
- uses: actions/checkout@v4
5959
with:
6060
fetch-depth: 1
6161
- name: Set GO env
@@ -79,7 +79,7 @@ jobs:
7979
- run: go install -v gotest.tools/gotestsum@v1
8080
# This here is solely to get the cni install script, which has not been modified in 3+ years.
8181
# There is little to no reason to update this to latest containerd
82-
- uses: actions/checkout@v4.2.2
82+
- uses: actions/checkout@v4
8383
with:
8484
repository: containerd/containerd
8585
ref: "v1.7.24"

.github/workflows/test-kube.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
env:
1818
ROOTFUL: true
1919
steps:
20-
- uses: actions/checkout@v4.2.2
20+
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 1
2323
- name: "Run Kubernetes integration tests"

.github/workflows/test.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
CONTAINERD_VERSION: "${{ matrix.containerd }}"
4141
ARCH: "${{ matrix.arch }}"
4242
steps:
43-
- uses: actions/checkout@v4.2.2
43+
- uses: actions/checkout@v4
4444
with:
4545
fetch-depth: 1
4646
- name: "Expose GitHub Runtime variables for gha"
@@ -73,7 +73,7 @@ jobs:
7373
- os: ubuntu-24.04
7474
goos: linux
7575
steps:
76-
- uses: actions/checkout@v4.2.2
76+
- uses: actions/checkout@v4
7777
with:
7878
fetch-depth: 1
7979
- uses: actions/setup-go@v5
@@ -82,7 +82,7 @@ jobs:
8282
check-latest: true
8383
cache: true
8484
- if: ${{ matrix.goos=='windows' }}
85-
uses: actions/checkout@v4.2.2
85+
uses: actions/checkout@v4
8686
with:
8787
repository: containerd/containerd
8888
ref: v1.7.24
@@ -126,7 +126,7 @@ jobs:
126126
ARCH: "${{ matrix.arch }}"
127127
UBUNTU_VERSION: "${{ matrix.ubuntu }}"
128128
steps:
129-
- uses: actions/checkout@v4.2.2
129+
- uses: actions/checkout@v4
130130
with:
131131
fetch-depth: 1
132132
- name: "Expose GitHub Runtime variables for gha"
@@ -175,7 +175,7 @@ jobs:
175175
ARCH: "${{ matrix.arch }}"
176176
UBUNTU_VERSION: "${{ matrix.ubuntu }}"
177177
steps:
178-
- uses: actions/checkout@v4.2.2
178+
- uses: actions/checkout@v4
179179
with:
180180
fetch-depth: 1
181181
- name: Enable ipv4 and ipv6 forwarding
@@ -271,7 +271,7 @@ jobs:
271271
}
272272
EOT
273273
sudo systemctl restart apparmor.service
274-
- uses: actions/checkout@v4.2.2
274+
- uses: actions/checkout@v4
275275
with:
276276
fetch-depth: 1
277277
- name: "Register QEMU (tonistiigi/binfmt)"
@@ -313,7 +313,7 @@ jobs:
313313
matrix:
314314
go-version: ["1.22.x", "1.23.x"]
315315
steps:
316-
- uses: actions/checkout@v4.2.2
316+
- uses: actions/checkout@v4
317317
with:
318318
fetch-depth: 1
319319
- uses: actions/setup-go@v5
@@ -329,7 +329,7 @@ jobs:
329329
name: docker
330330
runs-on: ubuntu-24.04
331331
steps:
332-
- uses: actions/checkout@v4.2.2
332+
- uses: actions/checkout@v4
333333
with:
334334
fetch-depth: 1
335335
- uses: actions/setup-go@v5
@@ -365,7 +365,7 @@ jobs:
365365
run:
366366
shell: bash
367367
steps:
368-
- uses: actions/checkout@v4.2.2
368+
- uses: actions/checkout@v4
369369
with:
370370
fetch-depth: 1
371371
- uses: actions/setup-go@v5
@@ -375,7 +375,7 @@ jobs:
375375
check-latest: true
376376
- run: go install ./cmd/nerdctl
377377
- run: go install -v gotest.tools/gotestsum@v1
378-
- uses: actions/checkout@v4.2.2
378+
- uses: actions/checkout@v4
379379
with:
380380
repository: containerd/containerd
381381
ref: v1.7.24
@@ -399,7 +399,7 @@ jobs:
399399
# ubuntu-24.04 lacks the vagrant package
400400
runs-on: ubuntu-22.04
401401
steps:
402-
- uses: actions/checkout@v4.2.2
402+
- uses: actions/checkout@v4
403403
with:
404404
fetch-depth: 1
405405
- uses: actions/cache@v4

0 commit comments

Comments
 (0)