Skip to content

Commit

Permalink
go.mod: Set 'go' to 1.18 (#361)
Browse files Browse the repository at this point in the history
Set the go directive in go.mod to 1.18.
This will allow use of features introduced in Go 1.18.
Go 1.19 was released some time ago, and 1.20 is around the corner,
so there's no reason to support 1.17.
  • Loading branch information
abhinav committed Nov 2, 2022
1 parent e998f7e commit 9324516
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.17.x", "1.18.x", "1.19.x"]
go: ["1.18.x", "1.19.x"]
include:
- go: 1.19.x
latest: true
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module go.uber.org/dig

go 1.17
go 1.18

require github.com/stretchr/testify v1.7.1

Expand Down

0 comments on commit 9324516

Please sign in to comment.