Skip to content

Bump github.com/google/go-github to v85.0.0#154

Merged
patrickhener merged 1 commit intopatrickhener:mainfrom
alexandear-org:bump-go-github-v85
Apr 27, 2026
Merged

Bump github.com/google/go-github to v85.0.0#154
patrickhener merged 1 commit intopatrickhener:mainfrom
alexandear-org:bump-go-github-v85

Conversation

@alexandear
Copy link
Copy Markdown
Contributor

Description

Bump github.com/google/go-github to the latest https://pkg.go.dev/github.com/google/go-github/v85

Copilot AI review requested due to automatic review settings April 27, 2026 12:06
Copy link
Copy Markdown

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

Updates the project’s GitHub API client dependency to the latest major version, aligning the update package (and its tests) with github.com/google/go-github/v85.

Changes:

  • Bump github.com/google/go-github from v42.0.0 to v85.0.0 in go.mod/go.sum.
  • Update Go import paths in update package code and tests to github.com/google/go-github/v85/github.
  • Adjust TestCheckForUpdates assertions to validate both return values from CheckForUpdates.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
update/update.go Switches go-github import to v85 for release checking.
update/update_test.go Switches go-github import to v85 and updates assertions for CheckForUpdates return values.
go.mod Updates the required go-github module version to v85.0.0.
go.sum Updates checksums to match go-github v85.0.0.

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

Comment thread update/update_test.go
Comment on lines 7 to 8
"goshs.de/goshs/v2/goshsversion"
"github.com/stretchr/testify/require"
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

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

Import block isn't gofmt-sorted: github.com/stretchr/testify/require should be grouped/sorted with the other github.com/... imports (before goshs.de/...). Running gofmt on this file will fix the ordering automatically.

Suggested change
"goshs.de/goshs/v2/goshsversion"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/require"
"goshs.de/goshs/v2/goshsversion"

Copilot uses AI. Check for mistakes.
@patrickhener patrickhener merged commit e3f1ae0 into patrickhener:main Apr 27, 2026
6 of 7 checks passed
@alexandear alexandear deleted the bump-go-github-v85 branch April 27, 2026 12:13
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.

3 participants