mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-22 16:49:22 -05:00
added clippy to github actions
This commit is contained in:
parent
44b43daeb5
commit
4cffe89eba
2 changed files with 4 additions and 12 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -27,12 +27,8 @@ jobs:
|
|||
run: python3 docs/generate_count_badge.py --check
|
||||
- name: Check formatting
|
||||
run: cargo fmt --check
|
||||
# TODO: this action doesn't seem to work
|
||||
# - name: Clippy check
|
||||
# uses: auguwu/clippy-action@1.1.2
|
||||
# with:
|
||||
# args: --all-features --tests
|
||||
# token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Clippy
|
||||
run: cargo clippy --all-features --tests -- -D warnings
|
||||
- name: Run tests
|
||||
run: cargo test --all-features
|
||||
|
||||
|
|
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
|
@ -22,11 +22,7 @@ jobs:
|
|||
uses: Swatinem/rust-cache@v2
|
||||
- name: Check formatting
|
||||
run: cargo fmt --check
|
||||
# TODO: this action doesn't seem to work
|
||||
# - name: Clippy check
|
||||
# uses: auguwu/clippy-action@1.1.2
|
||||
# with:
|
||||
# args: --all-features --tests
|
||||
# token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Clippy
|
||||
run: cargo clippy --all-features --tests -- -D warnings
|
||||
- name: Run tests
|
||||
run: cargo test --all-features
|
||||
|
|
Loading…
Add table
Reference in a new issue