From 6b6e339c34ecfa7e0637e1f4406eac41a4a2d36c Mon Sep 17 00:00:00 2001 From: jutty Date: Sat, 13 Dec 2025 18:41:52 -0300 Subject: [PATCH] Move toolchain setup to a separate step, add clippy --- .forgejo/workflows/check.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/check.yaml b/.forgejo/workflows/check.yaml index 085ef0a..7d47546 100644 --- a/.forgejo/workflows/check.yaml +++ b/.forgejo/workflows/check.yaml @@ -8,14 +8,11 @@ jobs: - name: checkout code run: | apt --update -y install git - pwd; ls -la git clone https://codeberg.org/jutty/en . - ls -la + - name: setup toolchain + run: rustup component add rustfmt clippy - name: formatting - run: | - pwd; ls -la - rustup component add rustfmt - cargo fmt -- --check + run: cargo fmt -- --check - name: lints run: cargo clippy -- -Dwarnings - name: cargo