Skip to content

Commit

Permalink
Revert "Remove clippy for testing (#494)" (#495)
Browse files Browse the repository at this point in the history
This reverts commit 23c87ad.
  • Loading branch information
aaron-ai committed Apr 23, 2023
1 parent 23c87ad commit ba97b2d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/rust_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,26 @@ jobs:
- name: Code format check
working-directory: ./rust
run: cargo fmt --check
clippy:
runs-on: ubuntu-latest
name: clippy check
permissions: write-all
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
- name: Clippy check
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --manifest-path rust/Cargo.toml -- -D warnings
doc:
runs-on: ubuntu-latest
name: doc check
Expand Down

0 comments on commit ba97b2d

Please sign in to comment.