Skip to content

Commit

Permalink
Bump Go min version to 1.20 (#110)
Browse files Browse the repository at this point in the history
Updates the CI matrix to explicitly use 1.20 through 1.22 and drops
1.19.
  • Loading branch information
jhump authored Mar 12, 2024
1 parent c4a53f7 commit 6fe12fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ 1.19.x, oldstable, stable ]
go-version: [ 1.20.x, 1.21.x, 1.22.x ]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -33,5 +33,5 @@ jobs:
- name: Lint
# Often, lint guidelines depend on the Go version. To prevent
# conflicting guidance, run only on the most recent supported version.
if: matrix.go-version == 'stable'
if: matrix.go-version == '1.22.x'
run: make lint
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/bufbuild/protovalidate-go

go 1.19
go 1.20

require (
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.33.0-20240221180331-f05a6f4403ce.1
Expand Down

0 comments on commit 6fe12fc

Please sign in to comment.