Skip to content

Commit 8050603

Browse files
committed
ci: use Go stable
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
1 parent f351829 commit 8050603

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ on:
66
pull_request:
77
branches: [ main ]
88

9-
env:
10-
# Go version we currently use to build containerd across all CI.
11-
# Note: don't forget to update `Binaries` step, as it contains the matrix of all supported Go versions.
12-
GO_VERSION: "1.22.8"
13-
149
permissions: # added using https://github.com/step-security/secure-workflows
1510
contents: read
1611

@@ -34,8 +29,7 @@ jobs:
3429
steps:
3530
- uses: actions/setup-go@v6
3631
with:
37-
go-version: ${{ env.GO_VERSION }}
38-
cache: false # see actions/setup-go#368
32+
go-version: 'stable'
3933

4034
- uses: actions/checkout@v6
4135
- uses: golangci/golangci-lint-action@v9
@@ -56,8 +50,7 @@ jobs:
5650
steps:
5751
- uses: actions/setup-go@v6
5852
with:
59-
go-version: ${{ env.GO_VERSION }}
60-
cache: false # see actions/setup-go#368
53+
go-version: 'stable'
6154

6255
- uses: actions/checkout@v6
6356
with:
@@ -85,7 +78,7 @@ jobs:
8578

8679
- uses: actions/setup-go@v6
8780
with:
88-
go-version: ${{ env.GO_VERSION }}
81+
go-version: 'stable'
8982

9083
- name: Set env
9184
shell: bash

0 commit comments

Comments
 (0)