Add a CI job to format the rust.
All checks were successful
semver Build semver has succeeded
cargo-fmt Build cargo-fmt has succeeded
build-cargo-fmt Build build-cargo-fmt has succeeded

This commit is contained in:
Tom Alexander
2023-07-11 06:49:08 -04:00
parent 5d59efd426
commit edcad08406
3 changed files with 102 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
FROM harbor.fizz.buzz/dockerhub/library/rust:1.70.0
RUN rustup component add rustfmt
ENTRYPOINT ["cargo", "fmt"]