Skip to content

Commit

Permalink
Run Clippy as GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
heeckhau committed Jul 19, 2023
1 parent 86f1687 commit ff7ddf4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
with:
profile: minimal
toolchain: stable
components: clippy
- uses: Swatinem/rust-cache@v2.0.0

- name: "Build"
Expand All @@ -36,6 +37,11 @@ jobs:
# RUSTDOCFLAGS: -D warnings
run: cargo doc --no-deps --workspace --lib --document-private-items --examples

- name: Run Clippy
# env:
# RUSTDOCFLAGS: -D warnings
run: cargo clippy --all-targets --all-features

rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
Expand Down

0 comments on commit ff7ddf4

Please sign in to comment.