Skip to content

chore(ci): update workflows and module to support v3 branch#375

Merged
flc1125 merged 1 commit into3.xfrom
support-3.x
Mar 9, 2026
Merged

chore(ci): update workflows and module to support v3 branch#375
flc1125 merged 1 commit into3.xfrom
support-3.x

Conversation

@flc1125
Copy link
Copy Markdown
Owner

@flc1125 flc1125 commented Mar 9, 2026

No description provided.

- Change branches in GitHub workflows from 2.x to 3.x
- Update Go module path from v2 to v3 in go.mod
- Modify README badges and go get command to reference v3 module
- Update import paths in example code to use v3 version
Copilot AI review requested due to automatic review settings March 9, 2026 03:09
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Mar 9, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request primarily focuses on updating the project's Go module to its v3 iteration. This involves modifying the module declaration in go.mod and ensuring all public-facing documentation and examples, such as those found in the README.md, correctly reference the new module version. The change facilitates the transition to the new major version and ensures consistency across the project's metadata and usage instructions.

Highlights

  • Module Version Update: The Go module has been updated from v2 to v3 to reflect the new major version branch.
  • Documentation and Examples: All references in the README.md file, including the GoDoc badge, installation instructions, and usage examples, have been updated to point to the v3 module path.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • README.md
    • Updated the GoDoc badge URL and text to reflect the v3 module.
    • Modified the go get installation command to use the v3 module path.
    • Updated the Go import path in the usage example to reference the v3 module.
  • go.mod
    • Changed the module declaration from v2 to v3.
Ignored Files
  • Ignored by pattern: .github/workflows/** (3)
    • .github/workflows/analysis.yml
    • .github/workflows/lint.yml
    • .github/workflows/test.yml
Activity
  • No activity has been recorded for this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 9, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ccf04f4b-4c01-42f8-a1ae-0bd90aa5d048

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch support-3.x

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@dosubot dosubot bot added dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation labels Mar 9, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.27%. Comparing base (3753ea9) to head (0006f40).
⚠️ Report is 1 commits behind head on 3.x.

Additional details and impacted files
@@           Coverage Diff           @@
##              3.x     #375   +/-   ##
=======================================
  Coverage   92.27%   92.27%           
=======================================
  Files           1        1           
  Lines         207      207           
=======================================
  Hits          191      191           
  Misses         11       11           
  Partials        5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the module to support a v3 release. The changes correctly update the module path in go.mod from v2 to v3. Correspondingly, the README.md file has been updated to reflect this change in the GoDoc badge, the go get installation command, and the import path in the usage example. The changes are consistent and correctly prepare the repository for the new major version.

Copy link
Copy Markdown
Contributor

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 this repository for the v3 major module line and ensures CI only runs for the v3 maintenance branch.

Changes:

  • Bump module path from /v2 to /v3 in go.mod.
  • Update README installation/import examples and pkg.go.dev badge to /v3.
  • Update GitHub Actions workflow branch filters from 2.x to 3.x.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
go.mod Updates the module path to .../v3 for the v3 major version.
README.md Aligns docs and pkg.go.dev badge with the new /v3 module path.
.github/workflows/test.yml Runs tests only on 3.x branch PRs/pushes.
.github/workflows/lint.yml Runs lint only on 3.x branch PRs/pushes.
.github/workflows/analysis.yml Runs static analysis only on 3.x branch PRs/pushes.

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

@flc1125 flc1125 merged commit b393b78 into 3.x Mar 9, 2026
16 checks passed
@flc1125 flc1125 deleted the support-3.x branch March 9, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants