From b6c888f951d9fbc73347d1ea5b97407be8d27d2f Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 7 Jun 2022 20:01:11 +0200 Subject: [PATCH] Update and rename continuous_testing.yaml to ci.yaml --- .../workflows/{continuous_testing.yaml => ci.yaml} | 11 +++++++++++ 1 file changed, 11 insertions(+) rename .github/workflows/{continuous_testing.yaml => ci.yaml} (59%) diff --git a/.github/workflows/continuous_testing.yaml b/.github/workflows/ci.yaml similarity index 59% rename from .github/workflows/continuous_testing.yaml rename to .github/workflows/ci.yaml index cb8fa97..abe3df5 100644 --- a/.github/workflows/continuous_testing.yaml +++ b/.github/workflows/ci.yaml @@ -18,6 +18,17 @@ jobs: with: toolchain: stable override: true + - name: Run cargo fmt + uses: actions-rs/cargo@v1 + with: + command: fmt + args: --all -- --check + - name: Run cargo clippy (deny warnings) + uses: actions-rs/cargo@v1 + with: + command: clippy + # --all-targets makes it lint tests too + args: --all-targets -- --deny warnings - name: Run test uses: actions-rs/cargo@v1 with: