Repository navigation
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? |
|
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. |
chshersh
left a comment
There was a problem hiding this comment.
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 createdDetails
|
(cherry picked from commit c21dbcd)
Fix #8316: run
fix-whitespace --checkas CI workflow.Also: fix existing whitespace violations (separate commit).
The whitespace checker can be configured in
fix-whitespace.yaml.