-
Notifications
You must be signed in to change notification settings - Fork 318
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
Inline gradle-wrapper-validation job. #2129
Conversation
Just execute gradle-wrapper-validation in gradle-emulator-tests to save overhead of running a separate job with checkout.
.github/workflows/ci.yml
Outdated
- name: Install Java 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
- name: Gradle wrapper validation | ||
uses: gradle/wrapper-validation-action@v1 |
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.
uses: gradle/wrapper-validation-action@v1 | |
uses: gradle/wrapper-validation-action@v2 |
https://github.com/gradle/wrapper-validation-action/releases/tag/v2.0.0-rc.1 released few minutes ago.
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.
isn't it safer to use only stable versions?
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.
Up to you, it's only minor and patch bumps apart from the Node 20 change.
I wouldn't expect issues from this action, Gradle's RCs are pretty stable usually and final release won't require any changes.
Some examples where it's working fine:
ReactiveCircus/android-emulator-runner#374
junit-pioneer/junit-pioneer#804
build: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 20 | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 |
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.
test:
job's checkout is still v3 I think, see warnings:
https://github.com/android/android-test/actions/runs/7702474927?pr=2129
bbd6bb3
to
1dd2af5
Compare
cf3dfe9
Just execute gradle-wrapper-validation in gradle-emulator-tests to save overhead of running a separate job with checkout.
Also update to actions/checkout@v4