-
Notifications
You must be signed in to change notification settings - Fork 65
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
Update CI, add cargo fmt #222
Conversation
using VS Code YAML extension by Red Hat
- updates actions/checkout from v1 (2019) to v4 (2023) - switches toolchain from actions-rs (archive status) to dtolnay - uses rust-cache - adds `cargo fmt` to the workflow Many of these changes were inspired by Axum's CI.
I didn't add a doc job for #214 but I could do that after. |
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.
@@ -1,40 +1,46 @@ | |||
name: Rust | |||
|
|||
env: | |||
MSRV: "1.70" |
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.
I wonder, if there's a way to specify the MSRV only in a single place. (It's also specified in Cargo.toml
as rust-version
.)
I realize that this pull request doesn't add any new redundancies (this line replaces another in the same file), so this isn't a criticism. This just reminded me of this redundancy, and I'm wondering if we can do better.
cargo fmt
to the workflowMany of these changes were inspired by Axum's CI.
fmt run, all clippy lints fixed, CI passing on my fork.