Skip to content

Fix CI formatting check#1260

Merged
blt merged 3 commits intomainfrom
vincent.whitchurch/test
Feb 27, 2025
Merged

Fix CI formatting check#1260
blt merged 3 commits intomainfrom
vincent.whitchurch/test

Conversation

@vitkyrka
Copy link
Copy Markdown
Contributor

@vitkyrka vitkyrka commented Feb 27, 2025

What does this PR do?

The cargo fmt check doesn't run in CI and a lot of the files are not formatted correctly. The PR makes the check run and does an automatic format of all files to make the check pass.

Motivation

Related issues

Additional Notes

The branch protection rules need to be changed since the name of the job has changed.

"cargo check" and "cargo fmt" are currently not run in CI due to a bug
in the matrix configuration.
$ cargo fmt --all -- --check --all-features
Unrecognized option: 'all-features'
Now that we are actually checking it in CI, CI fails since the code is
not formatted.
@vitkyrka vitkyrka force-pushed the vincent.whitchurch/test branch from 0e114c1 to d491dd9 Compare February 27, 2025 08:56
@vitkyrka vitkyrka changed the title fix Fix CI formatting check Feb 27, 2025
@vitkyrka vitkyrka marked this pull request as ready for review February 27, 2025 09:07
@vitkyrka vitkyrka requested a review from a team as a code owner February 27, 2025 09:07
@blt blt merged commit 26a133a into main Feb 27, 2025
21 checks passed
@blt blt deleted the vincent.whitchurch/test branch February 27, 2025 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants