From 612691c20811db3e5f99496cc3a78fcfdb73486d Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 4 Dec 2024 05:20:23 +0200 Subject: [PATCH] add rustfmt, clippy validation --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 38e0ef94..e1572090 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,6 +17,10 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Run rustfmt + run: cargo fmt --all -- --check + - name: Run clippy + run: cargo clippy --all-targets - name: Install system packages run: sudo apt install -y libgtk-4-dev libadwaita-1-dev libsqlite3-dev - name: Build