Skip to content
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

check formatting and lint rules in CI #3

Merged
merged 3 commits into from
Jan 31, 2022
Merged

check formatting and lint rules in CI #3

merged 3 commits into from
Jan 31, 2022

Conversation

ma2bd
Copy link
Contributor

@ma2bd ma2bd commented Jan 31, 2022

This now runs in CI:

clippy cargo clippy --all-targets
cargo fmt -- --check --config unstable_features=true --config imports_granularity=Crate

The long command for cargo fmt is needed to normalize imports (see rust-lang/rustfmt#4991 )

@ma2bd ma2bd changed the title apply `cargo fmt -- --config unstable_features=true --config imports_… check formatting and lint rules in CI Jan 31, 2022
@ma2bd ma2bd merged commit 66d7a57 into linera-io:main Jan 31, 2022
@ma2bd ma2bd deleted the ci_fmt branch January 31, 2022 02:00
@Twey Twey mentioned this pull request Jun 5, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant