-
-
Notifications
You must be signed in to change notification settings - Fork 454
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 issue with pre-commit action on Windows #1844
Conversation
28f19e1
to
565690f
Compare
565690f
to
02a1660
Compare
@LilSpazJoekp After a bunch of testing, I've pinned (heh) down the issue. Its not with What I highly suggest you do is report this upstream to pre-commit/action so this can get fixed, since the workaround will not be viable forever without compromises. Thanks! |
Thanks for figuring this out and pinning the issue down 😉. The problem with reporting the issue is that https://github.com/pre-commit/action is deprecated. I'm not sure this will get fixed. |
Could this be a problem pre-commit itself? I don't have a windows machine to test this. |
It is in maintenance mode only, because the author is focusing future development on his own pre-commit.ci service instead, but I presume "maintenance" includes fixing the action being broken on one of the three GitHub Actions platforms (which is one of the many use cases that pre-commit.ci cannot replace the action for, by design).
Nope, sorry—I meant to mention this above, but it seems I neglected to. The bug occurs on the pip install step of the action, before pre-commit ever runs. Furthermore, I ran |
Thanks again for figuring this out! 🎇 |
@LilSpazJoekp Well, clearly a normal In any case, the simplest long-term alternative unless things are resolved would probably be to just drop the action and run pre-commit directly instead; you'd loose out of caching and a few niceties, but not the end of the world. |
Fixes #1843
Feature Summary and Justification
Test, confirm and (for now) work around/fix the issue with the pre-commit action on Windows identified in #1843 .
I'll be testing a few things, so I'll leave this as draft for now.