chore: resolve open dependabot security alerts#49
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR addresses Dependabot security alerts by upgrading golang.org/x/crypto and golang.org/x/net, and updates the Go version declared in go.mod to align with the newer dependency requirements.
Changes:
- Bump
golang.org/x/cryptotov0.54.0andgolang.org/x/nettov0.57.0(plus related indirectx/sysandx/textbumps). - Update
go.modgodirective from1.24.0to1.25.0. - Refresh
go.sumaccordingly.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| go.mod | Updates the Go version directive and bumps golang.org/x/* indirect dependencies. |
| go.sum | Updates module checksums to reflect the new golang.org/x/* versions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
JamieSinn
approved these changes
Jul 10, 2026
Member
|
@jonathannorris you'll also need to update the github actions for this to run properly. i recommend we set the version to |
- Upgrade Dockerfile base image golang:1.24 -> golang:1.25 (required by go.mod go 1.25.0 directive) - Update golangci-lint-action v3 -> v8 to support Go 1.25+ (v1.64.8 was built with Go 1.24) - Remove --sort-results flag (removed in golangci-lint v2) - Add //nolint:errcheck to defer X.Close() patterns (v2 reports these; v1 excluded by default) - Lowercase error string in options.go to fix ST1005 - Discard return value of pretty.Println in test to fix errcheck
jonathannorris
enabled auto-merge (squash)
July 10, 2026 13:48
JamieSinn
approved these changes
Jul 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
golang.org/x/cryptoandgolang.org/x/netgodirective) from 1.24.0 to 1.25.0 (required by the updated dependency versions; CI already usesgo-version: stable)Dependabot Alerts Resolved
golang.org/x/cryptogolang.org/x/cryptogolang.org/x/cryptogolang.org/x/cryptogolang.org/x/cryptogolang.org/x/cryptogolang.org/x/cryptogolang.org/x/cryptogolang.org/x/cryptogolang.org/x/cryptogolang.org/x/cryptogolang.org/x/cryptogolang.org/x/cryptogolang.org/x/netVerification
go build ./...passesgo test -v -race ./...passes (all 7 subtests)