Skip to content

Commit db03253

Browse files
committed
Use Go 1.20 in CI
Also set the minimum version in go.mod to Go 1.19 now that Go 1.18 is unsupported.
1 parent e6b59ee commit db03253

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- uses: actions/[email protected]
2626
with:
27-
go-version: 1.19
27+
go-version: "1.20"
2828

2929
- uses: actions/[email protected]
3030

@@ -36,8 +36,8 @@ jobs:
3636
strategy:
3737
matrix:
3838
go_version:
39-
- 1.18
4039
- 1.19
40+
- "1.20"
4141
os:
4242
- macos
4343
- ubuntu
@@ -62,7 +62,7 @@ jobs:
6262
- run: go mod download
6363

6464
- run: make staticcheck
65-
if: matrix.go_version == '1.19'
65+
if: matrix.go_version == '1.20'
6666

6767
- run: make gotest
6868
env:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/fsouza/go-dockerclient
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/Microsoft/go-winio v0.6.0

0 commit comments

Comments
 (0)