Skip to content

Commit

Permalink
fix: revert use of lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
huitseeker committed Dec 23, 2023
1 parent ba6b12e commit 09e133e
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 09e133e

Please sign in to comment.