Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump go toolchain to 1.23.0 #96

Merged
merged 3 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
with:
version: v1.59.1
version: v1.60.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I spotted this also in bbolt. Do we want to lock a version here? I think the only way to bump the version would be manually. Would it be better to set it to latest (refer to their documentation).

@jmhbnz, WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think maybe we would like to follow the dependency pinning everywhere, though using the latest tag would be nicer for the linter since the update can come right away.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, however, dependabot won't update this. I think it may also not be that relevant when we migrate these jobs to Prow.

args: --config tools/.golangci.yaml
- run: |
set -euo pipefail
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

NAME ?= auger
PKG ?= github.com/etcd-io/$(NAME)
GO_VERSION ?= 1.22.6
GO_VERSION ?= 1.23.0
GOOS ?= linux
GOARCH ?= amd64
TEMP_DIR := $(shell mktemp -d)
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/etcd-io/auger

go 1.22.0
go 1.23
henrybear327 marked this conversation as resolved.
Show resolved Hide resolved

toolchain go1.22.6
toolchain go1.23.0

require (
github.com/google/safetext v0.0.0-20220914124124-e18e3fe012bf
Expand Down
Loading