Skip to content

Commit

Permalink
feat: switch clippy lint to direct usage
Browse files Browse the repository at this point in the history
  • Loading branch information
morgante committed Jan 7, 2025
1 parent eee3a81 commit eea01f2
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,15 @@ jobs:
- name: Install Protoc
run: sudo apt-get install -y protobuf-compiler
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
check:
name: Lint/Format Check
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --workspace --features test_ci --exclude grit-wasm-bindings -- -D warnings
submodules: true
- name: Format
run: cargo fmt --all -- --check
- name: Lint
run: cargo clippy --all-targets --all-features --workspace --release --locked -- -D clippy::all

0 comments on commit eea01f2

Please sign in to comment.