Skip to content

Commit

Permalink
Bump golang/go from go1.20.1 to 1.21.0 (#383)
Browse files Browse the repository at this point in the history
* Bump golang/go from go1.20.1 to 1.21.0

Bumps [golang/go](https://github.com/golang/go) from go1.20.1 to 1.21.0. This release includes the previously tagged commit.
- [Commits](golang/go@go1.20.1...go1.21.0)

---
updated-dependencies:
- dependency-name: golang/go
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update Go everywhere to latest major version 1.21

Also remove the out of date comment saying there is no `.0` patch
version.  [Since Go 1.21.0 there is a `.0` patch version][1].

[1]: https://go.dev/doc/go1.21#introduction

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: John Boyes <[email protected]>
  • Loading branch information
dependabot[bot] and johnboyes authored Aug 26, 2023
1 parent 149b0c2 commit b4e1313
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.20.1-bullseye
FROM golang:1.21.0-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
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/dependabot_hack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +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)
# NB bear in mind there is no `.0` patch level version, i.e. use 1.15 not 1.15.0
- uses: golang/[email protected]
- uses: golang/[email protected]

# update the versions in the devcontainer Dockerfile manually, too
- uses: golang/tools@gopls/v0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github_tag_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.1
go-version: '1.21.0'
-
name: Run GoReleaser
uses: goreleaser/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.20.1
go-version: '1.21.0'
- name: Checkout code
uses: actions/checkout@v3
- name: Tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/virtual_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.20.1
go-version: '1.21.0'
- name: Checkout code
uses: actions/checkout@v3
- name: Install Hoverfly
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20.1-bullseye AS builder
FROM golang:1.21.0-bullseye AS builder

WORKDIR /src
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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.20
go 1.21

require (
github.com/shurcooL/githubv4 v0.0.0-20230215024106-420ad0987b9b
Expand Down

0 comments on commit b4e1313

Please sign in to comment.