-
Notifications
You must be signed in to change notification settings - Fork 704
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
Fix #8316: run fix-whitespace --check
as CI workflow
#8320
Conversation
Would it make sense to add a line to CONTRIBUTING explaining how to run the check locally? |
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.
Lgtm modulo minor comments. Thank you!
Weird, how come my latest push of workflow
The violation is a "No newline at end of file" at cabal/release-notes/Cabal-3.8.1.0.md Line 169 in 0ac0feb
I am using the vanilla |
Just pushed a commit to that extend. |
Looks fine, thank you. |
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.
The fix-whitespace
tool is cool, I might want to use it in my own projects as well 🙂
I reorganized the 6 commits into 3, but these 3 are independent and should be kept separate. Why didn't label "merge me" do anything in 4 hours? |
Because of #8285. |
Sorry, I skipped the 2-day waiting period because this PR would rot too fast: it would get broken every time someone introduces a whitespace violation into the code base. |
tldr; We need to backport this to 3.8 if we want a working CI on 3.8 Reasoning: see #8503 and #8505. They are required for working CI since ghcup updated the recommended GHC -- no matter the branch. And #8505 mentions the whitespace job, so it couldn't be (easily) backported without this one being backported first. |
@mergify backport 3.8 |
✅ Backports have been created
|
(cherry picked from commit c21dbcd)
Fix #8316: run
fix-whitespace --check
as CI workflow.Also: fix existing whitespace violations (separate commit).
The whitespace checker can be configured in
fix-whitespace.yaml
.