Skip to content

Upgrade Go to 1.26.4 and update dependencies and tooling - #1

Merged
IvMisticos merged 2 commits into
mainfrom
claude/dependency-cooldown-update
Jun 19, 2026
Merged

Upgrade Go to 1.26.4 and update dependencies and tooling#1
IvMisticos merged 2 commits into
mainfrom
claude/dependency-cooldown-update

Conversation

@IvMisticos

Copy link
Copy Markdown
Owner

Summary

This PR upgrades the project to Go 1.26.4 and updates all dependencies, GitHub Actions, and development tooling to their latest versions. This includes updates to Kubernetes client libraries, goreleaser configuration for v2 compatibility, and GitHub Actions workflows.

Key Changes

Go and Dependencies

  • Upgraded Go version from 1.19 to 1.26.4
  • Updated k8s.io/client-go from v0.29.2 to v0.36.1
  • Updated k8s.io/apimachinery from v0.29.2 to v0.36.1
  • Updated k8s.io/klog/v2 from v2.110.1 to v2.140.0
  • Updated all transitive dependencies to compatible versions
  • Added new dependencies: github.com/fxamacker/cbor/v2, github.com/munnerz/goautoneg, k8s.io/kube-openapi, sigs.k8s.io/randfill
  • Removed obsolete dependencies: github.com/gogo/protobuf, github.com/golang/protobuf, google.golang.org/appengine, google.golang.org/protobuf

Build Configuration

  • Updated .goreleaser.yaml to v2 format:
    • Added explicit version: 2 declaration
    • Migrated from deprecated replacements to name_template for archive naming
    • Updated format specifications for Windows archives
    • Changed release argument from --rm-dist to --clean

GitHub Actions

  • Updated actions/checkout from v4 to v6
  • Updated actions/setup-go from v5 to v6
  • Updated goreleaser/goreleaser-action from v5 to v7 with version constraint ~> v2
  • Updated github/codeql-action/* from v3 to v4
  • Updated golangci/golangci-lint-action from v4 to v9
  • Updated asdf-vm/actions/* from v3 to v4
  • Updated Go version in workflows to "1.26.4"

Development Tools

  • Updated .tool-versions:
    • shellcheck from 0.9.0 to 0.11.0
    • shfmt from 3.6.0 to 3.13.1

Supply Chain Security

  • Added 14-day cooldown period to Dependabot configuration for both pip and gomod ecosystems to allow time for security review before opening PRs

Notable Implementation Details

  • The goreleaser configuration migration maintains backward compatibility with the previous archive naming scheme through explicit name_template configuration
  • All GitHub Actions have been updated to their latest major versions, ensuring access to latest features and security patches
  • The Dependabot cooldown configuration improves supply chain security by introducing a review period before dependency updates

https://claude.ai/code/session_01JDmbeSCnw8pbw37WADE9cX

claude added 2 commits June 19, 2026 21:09
Bump everything to the newest versions published on or before 2026-06-05
(14-day supply-chain cooldown), excluding anything released more recently.

- go.mod: k8s.io/client-go v0.29.2 -> v0.36.1; go directive 1.19 -> 1.26.4
  (+ transitive deps via go mod tidy)
- .tool-versions: shellcheck 0.9.0 -> 0.11.0, shfmt 3.6.0 -> 3.13.1
- workflows: actions/checkout v4 -> v6, actions/setup-go v5 -> v6
  (go-version 1.19 -> 1.26.4), asdf-vm/actions v3 -> v4,
  github/codeql-action v3 -> v4, golangci-lint-action v4 -> v9,
  goreleaser-action v5 -> v7
- .goreleaser.yaml: migrate to schema v2 (replacements -> name_template,
  format -> formats); workflow arg --rm-dist -> --clean
- dependabot.yml: add 14-day cooldown so future updates respect the window

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JDmbeSCnw8pbw37WADE9cX
golangci-lint jumped from v1 to v2.12.2 with the action bump, surfacing
pre-existing lint issues:
- errcheck: check f.Close() error; ignore fmt.Fprintf in flag.Usage
- staticcheck ST1023: drop redundant explicit types from var decls

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JDmbeSCnw8pbw37WADE9cX
@IvMisticos
IvMisticos merged commit 4aab249 into main Jun 19, 2026
7 checks passed
@IvMisticos
IvMisticos deleted the claude/dependency-cooldown-update branch June 19, 2026 21:45
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.

2 participants