Skip to content

Commit

Permalink
update go.mod to support 1.20+; update CI to explicitly use go 1.22; …
Browse files Browse the repository at this point in the history
…remove 1.19 from CI matrix
  • Loading branch information
jhump committed Mar 12, 2024
1 parent c4a53f7 commit c9e2b92
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 c9e2b92

Please sign in to comment.