-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Merged by Bors] - Xtask CI #1387
Conversation
…, so there's only one place to update.
❓ Odd, this works for me locally with both stable and nightly...but CI doesn't seem to find the .cargo/config file. I'll look into this tomorrow night unless someone beats me to it. Update: I ended up punting and running the task without using the alias in CI. |
I dig this. I'm definitely looking forward to consistent (and easy to run) ci validation. Resolve merge conflicts and we're good to go!. |
✅ Resolved |
bors r+ |
This PR is easiest to review commit by commit. Followup on #1309 (comment) - [x] Switch from a bash script to an xtask rust workspace member. - Results in ~30s longer CI due to compilation of the xtask itself - Enables Bevy contributors on any platform to run `cargo ci` to run linting -- if the default available Rust is the same version as on CI, then the command should give an identical result. - [x] Use the xtask from official CI so there's only one place to update. - [x] Bonus: Run clippy on the _entire_ workspace (existing CI setup was missing the `--workspace` flag - [x] Clean up newly-exposed clippy errors ~#1388 builds on this to clean up newly discovered clippy errors -- I thought it might be nicer as a separate PR.~ Nope, merged it into this one so CI would pass. Co-authored-by: Carter Anderson <mcanders1@gmail.com>
Pull request successfully merged into main. Build succeeded: |
This PR is easiest to review commit by commit.
Followup on #1309 (comment)
cargo ci
to run linting -- if the default available Rust is the same version as on CI, then the command should give an identical result.--workspace
flag#1388 builds on this to clean up newly discovered clippy errors -- I thought it might be nicer as a separate PR.Nope, merged it into this one so CI would pass.