chore(deps): update Go dependencies and GitHub Actions - #308
Merged
Conversation
Combines Renovate PRs #270, #275, #277, #279, #280. - actions/checkout v6.1.0 -> v7.0.1 - actions/setup-go v6.5.0 -> v7.0.0 - actions/cache v5.1.0 -> v6.1.0 - softprops/action-gh-release v2.6.2 -> v3.0.2 - github.com/google/go-github v76 -> v90 - github.com/pdfcpu/pdfcpu v0.14.0 -> v0.15.0 - golang.org/x/text v0.40.0 -> v0.41.0 go-github v90 replaced the NewClient(*http.Client) signature with variadic ClientOptionsFunc options returning an error.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Updates pinned GitHub Actions and Go dependencies, including the go-github v90 client migration.
Changes:
- Upgrades four GitHub Actions with SHA pins.
- Updates go-github, pdfcpu, and x/text.
- Adapts GitHub client construction to go-github v90.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/build-and-release.yml |
Updates build and release actions. |
.github/workflows/claude-code-review.yml |
Updates checkout. |
.github/workflows/claude.yml |
Updates checkout and Go setup. |
.github/workflows/dependency-submission.yml |
Updates checkout, Go setup, and caching. |
go.mod |
Updates direct dependency versions. |
go.sum |
Refreshes dependency checksums. |
internal/tools/github/auth.go |
Migrates client construction to v90. |
internal/tools/github/client.go |
Updates the go-github import path. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
Combines the open Renovate PRs into a single update.
Closes #270
Closes #275
Closes #277
Closes #279
Closes #280
GitHub Actions
actions/checkoutv6.1.0 -> v7.0.1actions/setup-gov6.5.0 -> v7.0.0actions/cachev5.1.0 -> v6.1.0softprops/action-gh-releasev2.6.2 -> v3.0.2 (Node 20 -> Node 24 runtime)All pins remain commit SHAs with a version comment.
Go modules
github.com/google/go-githubv76 -> v90github.com/pdfcpu/pdfcpuv0.14.0 -> v0.15.0golang.org/x/textv0.40.0 -> v0.41.0go-github v90 migration
github.NewClientno longer takes an*http.Clientdirectly. It now takes variadicClientOptionsFuncoptions and returns(*Client, error). The three call sites ininternal/tools/github/auth.gousegithub.WithHTTPClient(...)and propagate the error. None of the other v77-v90 breaking changes touch APIs this repo calls.Verification
make lint,make testandmake buildall pass.