chore: upgrade go and x/crypto package#56
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #56 +/- ##
==========================================
- Coverage 76.95% 76.83% -0.12%
==========================================
Files 28 28
Lines 1167 1161 -6
==========================================
- Hits 898 892 -6
Misses 218 218
Partials 51 51
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR upgrades the module’s Go version and refreshes several dependencies (notably google/go-github and x/crypto), while also updating CI tooling (GitHub Actions and golangci-lint) to match.
Changes:
- Bumped Go version and updated Go module dependencies (
go.mod/go.sum), includinggithub.com/google/go-githubtov86. - Refactored GitHub client creation to use
go-github’s newer auth/enterprise helpers and removed the oauth2-based helper client. - Updated CI workflow and local lint tooling versions (Actions, codecov action, golangci-lint).
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| package.go | Removes //nolint:contextcheck suppressions from wrapper APIs. |
| Makefile | Updates the golangci-lint download tag to v2.12.2. |
| go.sum | Refreshes dependency checksums after module upgrades. |
| go.mod | Updates Go version and bumps key dependencies (go-github, x/crypto, gitlab client, etc.). |
| github_source.go | Migrates GitHub client setup to go-github/v86 APIs and drops oauth2 client helper. |
| github_release.go | Updates import path for go-github/v86. |
| cmd/serve-repo/logger.go | Removes gosec suppression on request logging. |
| .github/workflows/build.yml | Updates Go matrix, checkout/codecov actions, and golangci-lint version used in CI. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.