From 72181717b88782146fa2cfd57ca7c8be498d7ee0 Mon Sep 17 00:00:00 2001 From: Wiard van Rij Date: Wed, 6 Mar 2024 06:51:05 +0100 Subject: [PATCH 1/4] bump go version --- .github/workflows/releaser.yml | 2 +- go.mod | 2 +- go.sum | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index a3b2da1..b6c8fbe 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # pin@v4 with: - go-version: '1.20' + go-version: '1.22.1' check-latest: true - name: Log in to Docker Hub uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # pin@v2 diff --git a/go.mod b/go.mod index 2a39125..3169495 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module fortio.org/slack-proxy -go 1.20 +go 1.22.1 require ( fortio.org/assert v1.2.0 diff --git a/go.sum b/go.sum index a01a9fe..167f2c9 100644 --- a/go.sum +++ b/go.sum @@ -21,6 +21,7 @@ github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6r github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= From 5462e3049f9433b79d693e5741323fdb5fa3e30c Mon Sep 17 00:00:00 2001 From: Wiard van Rij Date: Wed, 6 Mar 2024 06:52:41 +0100 Subject: [PATCH 2/4] fix version --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 3169495..8f3572f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module fortio.org/slack-proxy -go 1.22.1 +go 1.22 require ( fortio.org/assert v1.2.0 From 64dbca10baec3bafed7fbae90767792208b6a14d Mon Sep 17 00:00:00 2001 From: Wiard van Rij Date: Wed, 6 Mar 2024 06:55:31 +0100 Subject: [PATCH 3/4] stay on 1.21 --- .github/workflows/releaser.yml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index b6c8fbe..9ce31d9 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # pin@v4 with: - go-version: '1.22.1' + go-version: '1.21' check-latest: true - name: Log in to Docker Hub uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # pin@v2 diff --git a/go.mod b/go.mod index 8f3572f..edeb3a1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module fortio.org/slack-proxy -go 1.22 +go 1.21 require ( fortio.org/assert v1.2.0 From 78532a79f468f2354358104d8d2453a5e8853129 Mon Sep 17 00:00:00 2001 From: Wiard van Rij Date: Wed, 6 Mar 2024 06:57:37 +0100 Subject: [PATCH 4/4] bump version to 1.21 --- .github/workflows/codecov.yml | 2 +- .github/workflows/gochecks.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 61ba013..e9a6854 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@master - uses: actions/setup-go@v5 with: - go-version: '1.20' + go-version: '1.21' - name: Run test coverage run: go test -race -coverprofile=coverage.out -covermode=atomic ./... - uses: codecov/codecov-action@v4 diff --git a/.github/workflows/gochecks.yml b/.github/workflows/gochecks.yml index d8f40a4..c554fa9 100644 --- a/.github/workflows/gochecks.yml +++ b/.github/workflows/gochecks.yml @@ -16,7 +16,7 @@ jobs: - name: Setup Go environment uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # pin@v4 with: - go-version: '1.20' + go-version: '1.21' check-latest: true - name: Run Vulncheck run: |