-
Notifications
You must be signed in to change notification settings - Fork 165
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
GH-4324 update pr verify actions #4325
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Jerven Bolleman <[email protected]>
Signed-off-by: Jerven Bolleman <[email protected]>
Signed-off-by: Jerven Bolleman <[email protected]>
Signed-off-by: Jerven Bolleman <[email protected]>
- name: Cancel workflow on failure | ||
uses: vishnudxb/[email protected] | ||
if: failure() | ||
with: | ||
repo: eclipse/rdf4j | ||
workflow_id: ${{ github.run_id }} | ||
access_token: ${{ github.token }} |
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 that if we make this its own job, we can get rid of this cancel step.
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.
Yes, but don't we want to cancel the other jobs because they will need to run with the next push that has a formatting fix? So cancelling now saves some energy?
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.
Ah good point. I had it in my head that this would only cancel the current job - but if it also kills the parallel jobs then it's definitely worth leaving in.
GitHub issue resolved: #4324
Briefly describe the changes proposed in this PR:
Use a new java action that has maven caching build in.
Also move the formatting check into one place that is named after it.
PR Author Checklist (see the contributor guidelines for more details):