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: