From 09e133ed0693ca5d13dd4ca5fa42ee11b5ef74f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Garillot?= Date: Thu, 21 Dec 2023 19:31:39 -0500 Subject: [PATCH] fix: revert use of lint job --- .github/workflows/rust.yml | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b0c4fa75..97278b57 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -43,9 +43,32 @@ jobs: - name: Abomonation feature run: cargo run --features "abomonation" --example poseidon_constants_serde - # Wasm build, rustfmt, clippy, doctests, and MSRV - code-quality: - uses: lurk-lab/ci-workflows/.github/workflows/lints.yml@main + clippy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + with: + components: rustfmt, clippy + - uses: Swatinem/rust-cache@v2 + # See '.cargo/config' for list of enabled/disabled clippy lints + - name: rustfmt + uses: actions-rs/cargo@v1 + with: + command: fmt + args: --all --check + - name: cargo clippy + run: cargo xclippy -D warnings + + msrv: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - name: Install cargo-msrv + run: cargo install cargo-msrv + - name: Check Rust MSRV + run: cargo msrv verify # Check documentation links aren't broken link-checker: