diff --git a/.github/workflows/ci-rust.yml b/.github/workflows/ci-rust.yml index 6094cf6f84..a4576120bd 100644 --- a/.github/workflows/ci-rust.yml +++ b/.github/workflows/ci-rust.yml @@ -78,6 +78,12 @@ jobs: - name: Install Rust toolchains run: rustup toolchain install stable + - name: Run clippy linter + run: cargo clippy + + - name: Run rustfmt + run: cargo fmt --all -- --check + - name: Install cargo-binstall uses: taiki-e/install-action@v2 with: @@ -89,9 +95,6 @@ jobs: - name: Run the tests run: cargo tarpaulin --out xml - - name: Lint formatting - run: cargo fmt --all -- --check - # send the code coverage for the Rust part to the coveralls.io - name: Coveralls GitHub Action uses: coverallsapp/github-action@v2