From c3a4f95b91d493000fedfbc1192cbcc030e599ef Mon Sep 17 00:00:00 2001 From: "Eric N. Garcia" Date: Thu, 2 May 2024 00:30:55 -0400 Subject: [PATCH] build(go): upgrade to v1.22 --- .github/workflows/ci.yml | 2 +- .golangci.yml | 2 +- .tool-versions | 2 +- examples/contexts/go.mod | 2 +- examples/generics/go.mod | 2 +- examples/web-service-gin/go.mod | 2 +- go.mod | 2 +- go.work | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2de34db..30cfbbd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ['1.20', '1.21', '1.22'] + go: ['1.21', '1.22'] name: Go ${{ matrix.go }} test steps: - uses: actions/checkout@v4 diff --git a/.golangci.yml b/.golangci.yml index 354eeeb..3c3341a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,7 +1,7 @@ run: modules-download-mode: readonly timeout: 5m - go: "1.21" + go: "1.22" output: print-linter-name: true diff --git a/.tool-versions b/.tool-versions index c95a705..b7ac1d8 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -golang 1.21.0 +golang 1.22.2 golangci-lint 1.57.2 diff --git a/examples/contexts/go.mod b/examples/contexts/go.mod index cee4736..ba0e58c 100644 --- a/examples/contexts/go.mod +++ b/examples/contexts/go.mod @@ -1,3 +1,3 @@ module github.com/eng618/go-eng/examples/contexts -go 1.21 +go 1.22 diff --git a/examples/generics/go.mod b/examples/generics/go.mod index 99fa5be..b6633bf 100644 --- a/examples/generics/go.mod +++ b/examples/generics/go.mod @@ -1,3 +1,3 @@ module github.com/eng618/go-eng/examples/generics -go 1.21 +go 1.22 diff --git a/examples/web-service-gin/go.mod b/examples/web-service-gin/go.mod index f159769..a38e9b3 100644 --- a/examples/web-service-gin/go.mod +++ b/examples/web-service-gin/go.mod @@ -1,6 +1,6 @@ module github.com/eng618/go-eng/examples/web-service-git -go 1.21 +go 1.22 require github.com/gin-gonic/gin v1.9.1 diff --git a/go.mod b/go.mod index dbfe05a..fe08b51 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/eng618/go-eng -go 1.21 +go 1.22 diff --git a/go.work b/go.work index f25ee57..8fe9cf8 100644 --- a/go.work +++ b/go.work @@ -1,4 +1,4 @@ -go 1.21 +go 1.22 use ( .