-
Notifications
You must be signed in to change notification settings - Fork 88
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
Replace count_loc.sh with xtask #328
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #328 +/- ##
=======================================
Coverage 48.41% 48.41%
=======================================
Files 10 10
Lines 1138 1138
=======================================
Hits 551 551
Misses 587 587
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
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.
Amazing, thank you so much!
856e729
to
d322c3c
Compare
Apologies for the rebases here - missed removing the intentional failure code and reverting it back properly (and then got caught by vscode autoformatting) |
I'll take a look at the current set of failures a bit later |
Rebased and squashed to re-trigger checks, I think the last failure might have been a transient rust nightly issue rather than a true failure. Re-running to confirm. Edit: looks like not a transient problem.
|
with --package: a different error appears...
|
Raised mbrobbel/rustfmt-check#1137 against the rustfmt check action to try to find out more about the problem. |
mbrobbel/rustfmt-check#1137 (comment)
|
Thank you for raising this with the action owner! I added this yesterday to reduce the friction with fmt checks and it worked when I tested it in a different PR, I'm not sure what's going on. I shared the debug logs in the other issue. |
I just saw you modified the CI YAML file. I wonder if this is a security feature, disabling token permissions for non-owners who modify the config files to avoid running arbitrary code with all the permissions. Could you try maybe adding |
I disabled |
To run the count_loc now, you can use `cargo xtask count-loc` instead of `./count_loc.sh`. See <https://github.com/matklad/cargo-xtask> for more info on cargo-xtask. Fixes: ilai-deutel#323
There's a +nightly oddity where it returns an empty array twice instead of valid json for multiple projects, this causes the check action to fail
Rebased on master - all green |
To run the count_loc now, you can use
cargo xtask count-loc
instead of./count_loc.sh
.See https://github.com/matklad/cargo-xtask for more info on
cargo-xtask.
Fixes: #323