-
Notifications
You must be signed in to change notification settings - Fork 53
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
build: use bazelisk avoid unexpected Bazel version upgrades #1163
Conversation
Bazel version 6.0.0 is suspicious. Indeed, I'm able to reproduce the issue in Bazel 6.0.0. https://github.com/bazelbuild/bazel/releases 6.0.0 was released today. |
.github/workflows/ci.yaml
Outdated
@@ -75,20 +52,63 @@ jobs: | |||
retention-days: 5 | |||
|
|||
- name: Java Linter | |||
run: bazel --batch run //:google_java_format_verification | |||
run: bazelisk --batch run //:google_java_format_verification |
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.
I think we can remove Java linter as well if it's already included in the Maven build.
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.
Removed.
Kudos, SonarCloud Quality Gate passed! |
" ci / build (8) " has been failing in https://togithub.com/googleapis/gapic-generator-java/pull/1156. Creating an empty pull request to see the build failures. This PR changes: - The unit tests in Bazel and "coverage" on it have been removed. @blakeli0 intends to remove it in another PR anyway. - GitHub Actions to use bazelisk command that keeps the Bazel version stable. - The client library generation job is separated from the build job. As per https://togithub.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md, ubuntu-latest has bazelisk installed.
" ci / build (8) " has been failing in #1156. Creating an empty pull request to see the build failures.
This PR changes:
As per https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md, ubuntu-latest has bazelisk installed.