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

Refactor/3854 spotless for verification #3855

Merged

Conversation

kwvanderlinde
Copy link
Collaborator

@kwvanderlinde kwvanderlinde commented Mar 6, 2023

Identify the Bug or Feature request

Resolves #3854

Description of the Change

The googlejavaformat action is removed from the formatting PR verification step in favour of running spotlessCheck. If the check fails, the PR verification will fail.

I've also updated the spotless gradle plugin to the current latest version (6.16.0) while leaving the backend version of google-java-format where it was to avoid distracting formatting changes.

Possible Drawbacks

Shouldn't be any.

Documentation Notes

N/A

Release Notes

N/A


This change is Reviewable

Rather than running a dedicated google-java-format action, we now rely on spotless to do the invocation for us, so that
it matches dev environments.
Copy link
Contributor

@Phergus Phergus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @kwvanderlinde)

@Phergus Phergus merged commit 930c21a into RPTools:develop Mar 11, 2023
@kwvanderlinde kwvanderlinde deleted the refactor/3854-spotless-for-verification branch March 16, 2023 23:47
@cwisniew cwisniew added the code-maintenance Adding/editing javadocs, unit tests, formatting. label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-maintenance Adding/editing javadocs, unit tests, formatting.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Refactoring]: Replace the direct use of google-java-format with a call to spotless
4 participants