-
Notifications
You must be signed in to change notification settings - Fork 9
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
leave little warnings or suggestions on PRs when the fourmolu-action
fails
#1
Comments
Absolutely agreed! Though, just letting you know, if you look at the run's
logs, you'll see the suggestions.
…On Sat, Jun 11, 2022, 13:31 Théophile Choutri ***@***.***> wrote:
It is incredibly difficult today to determine where the fault lies in the
codebase, since the Action doesn't say anything about which files are not
formatted, neither in the files view, nor in the action interface
[image: Screenshot_20220611_223009]
<https://user-images.githubusercontent.com/15848443/173203911-5584c971-a407-4a6b-9f59-1de6803fc054.png>
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALRLUIUSW4WNQGVFHUVEVLVOTZQPANCNFSM5XMZ4BAQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@wraithm Hi, thank you for the quick response! Although I'm still perplex, because the logs as given by Github show me this: Logs
This is the faulty run. Maybe I'm not looking at the right place? |
@tchoutri That's weird! We see the suggestions in our code base... You're definitely looking in the right place. I was mistaken and I'd actually expect it to show up in that place where you took that screen shot, (ie. https://github.com/flora-pm/flora-server/runs/6845560053?check_suite_focus=true). Hmm... |
I finally remembered where I saw use of warnings in PRs when an action fails: You can see that the GitHub actions leave a bunch of warnings, and those warnings are shown in the PR overview. It looks like this: The warnings are the This might be a nice thing to figure out how to do for our fourmolu-action as well. |
It would be nice if this Action left comments/warnings/suggestions on PRs on places in the code where the formatting doesn't match what
fourmolu
suggests.I think https://github.com/tfausak/hlint-action does have this feature. It would be nice to have something similar here.
The text was updated successfully, but these errors were encountered: