Skip to content

🚀 Update dependencies and Go version to 1.26#2183

Merged
mkmccarty merged 2 commits intomainfrom
mm-branch-1
Feb 12, 2026
Merged

🚀 Update dependencies and Go version to 1.26#2183
mkmccarty merged 2 commits intomainfrom
mm-branch-1

Conversation

@mkmccarty
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 12, 2026 22:39
@mkmccarty mkmccarty merged commit 2b0a299 into main Feb 12, 2026
12 checks passed
@mkmccarty mkmccarty deleted the mm-branch-1 branch February 12, 2026 22:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the project’s Go toolchain target to Go 1.26 and refreshes a set of Go module dependencies, aligning local/Docker builds with the new version.

Changes:

  • Bump go.mod to go 1.26 and update several direct/indirect dependencies.
  • Update Docker/Docker Compose and Makefile defaults to build with Go 1.26.
  • Refresh go.sum to match the updated module graph.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
go.mod Updates the Go language version to 1.26 and bumps module versions accordingly.
go.sum Updates checksums to match dependency/version changes from go.mod.
Dockerfile Updates the default Go base image version used for builds.
docker-compose.yml Updates the default Go version passed as a build arg.
Makefile Updates the Go version used for Docker build targets.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

module github.com/mkmccarty/TokenTimeBoostBot

go 1.25.7
go 1.26
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

Bumping the go.mod go directive to 1.26 will make builds/tests fail anywhere that still installs Go 1.25.x (Go will error with “go.mod requires go >= 1.26”). The repo’s GitHub Actions CI workflow(s) are still pinned to Go 1.25.6, so they need to be updated to 1.26 (or to read from a single shared version source) to keep CI green.

Suggested change
go 1.26
go 1.25

Copilot uses AI. Check for mistakes.
Comment on lines +3 to +7
# Build from your local Dockerfile and auto-use the Go version in go.mod
build:
context: .
args:
GO_VERSION: "${GO_VERSION:-1.25}"
GO_VERSION: "${GO_VERSION:-1.26}"
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

The comment says the compose build will “auto-use the Go version in go.mod”, but the actual value comes from the GO_VERSION env var defaulting to 1.26. This is easy to let drift from go.mod; either update the comment to match behavior or ensure there’s a single source of truth for the Go version used by Docker builds.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant