From d86af4fac54d184d2a5f9b9a34fd09688acb71ce Mon Sep 17 00:00:00 2001 From: Eugene <inbox@null.page> Date: Thu, 2 Nov 2023 00:35:49 +0100 Subject: [PATCH] fixed #206 - check formatting in CI --- .github/workflows/rust.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 12aa9aa3..bbac560a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -27,6 +27,18 @@ jobs: with: package: russh + Formatting: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install rustfmt + run: rustup component add rustfmt + + - name: Clippy (all features enabled) + run: cargo fmt + Clippy: runs-on: ubuntu-latest