Skip to content

Commit 9638fba

Browse files
authored
Merge pull request #214 from dmcgowan/update-go-version
Run CI against latest stable version of Go and previous
2 parents fdd5c6a + 590622b commit 9638fba

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/ci.yml

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

9-
env:
10-
GO_VERSION: 1.23.x
11-
129
permissions:
1310
contents: read
1411
pull-requests: read
@@ -32,7 +29,7 @@ jobs:
3229
path: src/github.com/containerd/ttrpc
3330
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
3431
with:
35-
go-version: ${{ env.GO_VERSION }}
32+
go-version: 'stable'
3633

3734
- name: golangci-lint
3835
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
@@ -57,7 +54,7 @@ jobs:
5754
fetch-depth: 25
5855
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
5956
with:
60-
go-version: ${{ env.GO_VERSION }}
57+
go-version: 'stable'
6158

6259
- uses: containerd/project-checks@d7751f3c375b8fe4a84c02a068184ee4c1f59bc4 # v1.2.2
6360
with:
@@ -71,7 +68,7 @@ jobs:
7168
fail-fast: false
7269
matrix:
7370
os: [ubuntu-latest, macos-latest, windows-latest]
74-
go: [1.22.x, 1.23.x]
71+
go: [oldstable, stable]
7572

7673
name: ${{ matrix.os }} / ${{ matrix.go }}
7774
runs-on: ${{ matrix.os }}
@@ -116,7 +113,7 @@ jobs:
116113
fetch-depth: 25
117114
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
118115
with:
119-
go-version: ${{ env.GO_VERSION }}
116+
go-version: 'stable'
120117
id: go
121118

122119
- name: Setup Go binary path

0 commit comments

Comments
 (0)