lot of refactor

This commit is contained in:
2026-03-14 19:21:56 +01:00
parent b63982714b
commit 8d4a002b73
22 changed files with 256 additions and 313 deletions
+4 -2
View File
@@ -1,11 +1,12 @@
FROM rust:1.93.1-alpine3.23 AS builder
FROM rust:1.94.0-alpine3.23 AS builder
RUN --mount=type=cache,target=/root/.cargo \
rustup component add clippy && \
rustup component add rustfmt --toolchain nightly
RUN \
cargo install cargo-sort
cargo install cargo-sort && \
cargo install machete
WORKDIR /build
@@ -13,6 +14,7 @@ COPY . .
RUN --mount=type=cache,target=/build/target \
cargo sort ./**/Cargo.toml --check && \
cargo machete --with-metadata && \
cargo clippy && \
cargo +nightly fmt --check