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

build: Cargo.toml formatting & GitHub Action to check #6453

Merged

Conversation

rbradford
Copy link
Member

  • build: Add taplo configuration file for Cargo.toml files
  • build: Format Cargo.toml files using taplo
  • build: Add GitHub action to run taplo for Cargo.toml formatting

This configuration enforces the alphebetical ordering of arrays and keys
in the Cargo.toml files.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
Run the taplo formatter with the newly added configuration file

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
Check that the Cargo.toml files meet the formatting requirements.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
@rbradford rbradford force-pushed the 2024-05-08-cargo-toml-formatting branch from e6e6479 to a59968b Compare May 8, 2024 09:02
This was preventing the Cargo.toml formatter (taplo) from correctly
alphabetically ordering.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
@rbradford rbradford marked this pull request as ready for review May 8, 2024 11:04
@rbradford rbradford requested a review from a team as a code owner May 8, 2024 11:04
@likebreath likebreath added this pull request to the merge queue May 8, 2024
Merged via the queue into cloud-hypervisor:main with commit 95fd684 May 8, 2024
34 checks passed
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.

None yet

2 participants