Skip to content
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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

JervenBolleman
Copy link
Contributor

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):

  • my pull request is self-contained
  • every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

Comment on lines +18 to +24
- name: Cancel workflow on failure
uses: vishnudxb/[email protected]
if: failure()
with:
repo: eclipse/rdf4j
workflow_id: ${{ github.run_id }}
access_token: ${{ github.token }}
Copy link
Contributor

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.

Copy link
Contributor Author

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?

Copy link
Contributor

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.

@abrokenjester abrokenjester changed the title Gh 4324 update pr verify actions GH-4324 update pr verify actions Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check formatting in separate github action and update java maven cache action
2 participants