Add CI job to auto-format code.

This commit is contained in:
Tom Alexander
2023-12-22 20:12:59 -05:00
parent 904f834c86
commit 322dbb8f4f
3 changed files with 308 additions and 0 deletions

View File

@@ -2,3 +2,4 @@ FROM rustlang/rust:nightly-alpine3.17 AS builder
RUN apk add --no-cache musl-dev
RUN cargo install --locked --no-default-features --features ci-autoclean cargo-cache
RUN rustup component add rustfmt