From c9e2b922ca44a9e42899f8ea4390fb8b47d6fc40 Mon Sep 17 00:00:00 2001 From: Josh Humphries <2035234+jhump@users.noreply.github.com> Date: Tue, 12 Mar 2024 16:23:17 -0400 Subject: [PATCH] update go.mod to support 1.20+; update CI to explicitly use go 1.22; remove 1.19 from CI matrix --- .github/workflows/ci.yaml | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 84c34a0..754596f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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 diff --git a/go.mod b/go.mod index e4e4225..aef3bd8 100644 --- a/go.mod +++ b/go.mod @@ -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