Skip to content

Commit 4ab57d7

Browse files
Fix versions check failure (#479)
* Update to latest Go versions * Updated versions * Update test data * Update test data
1 parent cdcb360 commit 4ab57d7

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/versions.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
fail-fast: false
7272
matrix:
7373
os: [macos-latest, windows-latest, ubuntu-latest]
74-
go: [1.17, 1.18, 1.19]
74+
go: [1.20.14, 1.21.10, 1.22.3]
7575
steps:
7676
- name: Checkout
7777
uses: actions/checkout@v4
@@ -91,7 +91,7 @@ jobs:
9191
fail-fast: false
9292
matrix:
9393
os: [ubuntu-latest, windows-latest, macos-latest]
94-
go-version: [1.16, 1.17]
94+
go-version: [1.20.14, 1.21]
9595
steps:
9696
- uses: actions/checkout@v4
9797
- name: Setup Go and check latest
@@ -115,7 +115,7 @@ jobs:
115115
with:
116116
go-version-file: __tests__/data/go.mod
117117
- name: verify go
118-
run: __tests__/verify-go.sh 1.14
118+
run: __tests__/verify-go.sh 1.20.14
119119
shell: bash
120120

121121
go-version-file-with-gowork:
@@ -131,7 +131,7 @@ jobs:
131131
with:
132132
go-version-file: __tests__/data/go.work
133133
- name: verify go
134-
run: __tests__/verify-go.sh 1.19
134+
run: __tests__/verify-go.sh 1.21
135135
shell: bash
136136

137137
setup-versions-from-manifest:
@@ -141,7 +141,7 @@ jobs:
141141
fail-fast: false
142142
matrix:
143143
os: [macos-latest, windows-latest, ubuntu-latest]
144-
go: [1.12.16, 1.13.11, 1.14.3]
144+
go: [1.20.14, 1.21.10, 1.22.3]
145145
steps:
146146
- name: Checkout
147147
uses: actions/checkout@v4
@@ -162,7 +162,7 @@ jobs:
162162
fail-fast: false
163163
matrix:
164164
os: [macos-latest, windows-latest, ubuntu-latest]
165-
go: [1.9, 1.8.6]
165+
go: [1.20.14, 1.21]
166166
steps:
167167
- name: Checkout
168168
uses: actions/checkout@v4
@@ -182,7 +182,7 @@ jobs:
182182
fail-fast: false
183183
matrix:
184184
os: [ubuntu-latest, windows-latest, macos-latest]
185-
go-version: [1.16, 1.17]
185+
go-version: [1.20.14, 1.21]
186186
steps:
187187
- uses: actions/checkout@v4
188188
- name: Setup Go and check latest

__tests__/data/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module example.com/mymodule
22

3-
go 1.14
3+
go 1.20
44

55
require (
66
example.com/othermodule v1.2.3

__tests__/data/go.work

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
go 1.19
1+
go 1.21
22

33
use .

0 commit comments

Comments
 (0)