-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update ci to use a single GO_VERSION setting in ci_release.yml #19
Conversation
WalkthroughThe changes introduce a new Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (3)
- .github/workflows/ci_release.yml (1 hunks)
- .github/workflows/lint.yml (2 hunks)
- .github/workflows/test.yml (4 hunks)
Files skipped from review due to trivial changes (3)
- .github/workflows/ci_release.yml
- .github/workflows/lint.yml
- .github/workflows/test.yml
cabe74c
to
15ccd6b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- .github/workflows/ci_release.yml (1 hunks)
- .github/workflows/lint.yml (2 hunks)
- .github/workflows/test.yml (4 hunks)
Files skipped from review due to trivial changes (2)
- .github/workflows/lint.yml
- .github/workflows/test.yml
Additional comments not posted (3)
.github/workflows/ci_release.yml (3)
27-37
: The setup job is well-configured to centralize the Go version setting, ensuring consistency across workflows.
40-43
: The lint job correctly depends on the setup job for the Go version, ensuring that it uses the centralized setting.
46-49
: The test job correctly depends on the setup job for the Go version, ensuring that it uses the centralized setting.
15ccd6b
to
e817661
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- .github/workflows/ci_release.yml (1 hunks)
- .github/workflows/lint.yml (2 hunks)
- .github/workflows/test.yml (4 hunks)
Files skipped from review due to trivial changes (2)
- .github/workflows/lint.yml
- .github/workflows/test.yml
Additional comments not posted (4)
.github/workflows/ci_release.yml (4)
27-37
: LGTM!The new
setup
job is a great addition to centralize the Go version configuration and ensure consistency across the pipeline.
40-43
: LGTM!The changes to the
lint
job ensure that it uses the Go version defined in thesetup
job, improving maintainability.
46-49
: LGTM!The changes to the
test
job ensure that it uses the Go version defined in thesetup
job, improving maintainability.
43-43
: LGTM!Renaming the input variable from
GO_VERSION
togo-version
improves consistency across the workflows.Also applies to: 49-49
…hat version to output and uses in descendent workflows refs rollkit#16
e817661
to
ba04774
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #19 +/- ##
==========================================
+ Coverage 75.54% 79.55% +4.00%
==========================================
Files 5 5
Lines 274 225 -49
==========================================
- Hits 207 179 -28
+ Misses 52 33 -19
+ Partials 15 13 -2 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- .github/workflows/ci_release.yml (1 hunks)
- .github/workflows/lint.yml (2 hunks)
- .github/workflows/test.yml (4 hunks)
Files skipped from review as they are similar to previous changes (2)
- .github/workflows/lint.yml
- .github/workflows/test.yml
Additional comments not posted (3)
.github/workflows/ci_release.yml (3)
27-38
: LGTM!The
setup
job is correctly configured to:
- Run on
ubuntu-latest
.- Set the Go version using the
GO_VERSION
environment variable.- Output the Go version for subsequent jobs using the
set-vars
step.The job is correctly named and placed in the workflow.
40-43
: LGTM!The
lint
job is correctly modified to:
- Depend on the
setup
job.- Use the Go version defined in the
setup
job's output.
46-49
: LGTM!The
test
job is correctly modified to:
- Depend on the
setup
job.- Use the Go version defined in the
setup
job's output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Overview
update ci to use a single GO_VERSION setting in ci_release.yml and set that version to output and uses in descendent workflows refs #16
Checklist
Summary by CodeRabbit
GO_VERSION
togo-version
in thelint
andtest
workflows, ensuring uniformity across different workflows.