From c69c1b2488b28800dc34e8b7af035e732a407d59 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sun, 30 Jan 2022 08:15:53 +0500 Subject: [PATCH] Test Rust package with fmt & clippy --- .github/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e2bb0cb..bfd4e51 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -85,6 +85,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: toolchain: stable + components: rustfmt, clippy - name: autogen run: ./autogen.sh - name: configure @@ -96,3 +97,9 @@ jobs: - working-directory: pkgs/rust name: test run: cargo test + - working-directory: pkgs/rust + name: fmt + run: cargo fmt --check + - working-directory: pkgs/rust + name: clippy + run: cargo clippy