From 6db5636c24b8f0f2804247fb198651fc4c44d5f2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 2 Jun 2024 16:22:04 +0000 Subject: [PATCH 1/2] Bump golang/go from go1.21.6 to 1.22.3 Bumps [golang/go](https://github.com/golang/go) from go1.21.6 to 1.22.3. This release includes the previously tagged commit. - [Commits](https://github.com/golang/go/compare/go1.21.6...go1.22.3) --- updated-dependencies: - dependency-name: golang/go dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot_hack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot_hack.yml b/.github/workflows/dependabot_hack.yml index 6308df7..861828d 100644 --- a/.github/workflows/dependabot_hack.yml +++ b/.github/workflows/dependabot_hack.yml @@ -20,7 +20,7 @@ jobs: # 4. integration_test.yml # 5. virtual_test.yml # 6. the go.mod (if it is a major or minor version change e.g. 1.14 to 1.15) - - uses: golang/go@go1.21.6 + - uses: golang/go@go1.22.3 # update the versions in the devcontainer Dockerfile manually, too - uses: golang/tools@gopls/v0 From c6cb80d7328a81bc58dcb14bd5917ee582b80541 Mon Sep 17 00:00:00 2001 From: John Boyes Date: Sun, 2 Jun 2024 16:34:47 +0000 Subject: [PATCH 2/2] Bump Go version everywhere needed --- .devcontainer/Dockerfile | 2 +- .github/workflows/github_tag_and_release.yml | 2 +- .github/workflows/integration_test.yml | 2 +- .github/workflows/virtual_test.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 1ba22ed..f2261b7 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -6,7 +6,7 @@ # When we update the base image version (which we do manually, prompted by Dependabot # notifying us of a new Go version), make sure our new base images is listed at: # https://hub.docker.com/_/golang -FROM golang:1.21.6-bullseye +FROM golang:1.22.3-bullseye # This Dockerfile adds a non-root user with sudo access. Use the "remoteUser" # property in devcontainer.json to use it. On Linux, the container user's GID/UIDs diff --git a/.github/workflows/github_tag_and_release.yml b/.github/workflows/github_tag_and_release.yml index 212b145..447c095 100644 --- a/.github/workflows/github_tag_and_release.yml +++ b/.github/workflows/github_tag_and_release.yml @@ -40,7 +40,7 @@ jobs: name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.21.6' + go-version: '1.22.3' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5.1.0 diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index 122d709..2bfba01 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -16,7 +16,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: '1.21.6' + go-version: '1.22.3' - name: Checkout code uses: actions/checkout@v4 - name: Tests diff --git a/.github/workflows/virtual_test.yml b/.github/workflows/virtual_test.yml index 3394c33..0711113 100644 --- a/.github/workflows/virtual_test.yml +++ b/.github/workflows/virtual_test.yml @@ -19,7 +19,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: '1.21.6' + go-version: '1.22.3' - name: Checkout code uses: actions/checkout@v4 - name: Install Hoverfly diff --git a/Dockerfile b/Dockerfile index 835a0b4..19668be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21.6-bullseye AS builder +FROM golang:1.22.3-bullseye AS builder WORKDIR /src COPY . . diff --git a/go.mod b/go.mod index a3f8dc2..eeed177 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/agilepathway/label-checker // major and minor version only - don't specify at patch level (e.g. don't put 1.14.7) -go 1.21 +go 1.22 require ( github.com/shurcooL/githubv4 v0.0.0-20230704064427-599ae7bbf278