added clippy to github actions

This commit is contained in:
Maccesch 2023-07-13 11:36:38 +01:00
parent 44b43daeb5
commit 4cffe89eba
2 changed files with 4 additions and 12 deletions

View file

@ -27,12 +27,8 @@ jobs:
run: python3 docs/generate_count_badge.py --check run: python3 docs/generate_count_badge.py --check
- name: Check formatting - name: Check formatting
run: cargo fmt --check run: cargo fmt --check
# TODO: this action doesn't seem to work - name: Clippy
# - name: Clippy check run: cargo clippy --all-features --tests -- -D warnings
# uses: auguwu/clippy-action@1.1.2
# with:
# args: --all-features --tests
# token: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests - name: Run tests
run: cargo test --all-features run: cargo test --all-features

View file

@ -22,11 +22,7 @@ jobs:
uses: Swatinem/rust-cache@v2 uses: Swatinem/rust-cache@v2
- name: Check formatting - name: Check formatting
run: cargo fmt --check run: cargo fmt --check
# TODO: this action doesn't seem to work - name: Clippy
# - name: Clippy check run: cargo clippy --all-features --tests -- -D warnings
# uses: auguwu/clippy-action@1.1.2
# with:
# args: --all-features --tests
# token: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests - name: Run tests
run: cargo test --all-features run: cargo test --all-features