add both desktop and web clippy checks to action #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Enforce Clippy lints, including warnings | |
on: push | |
# Fail CI on all warnings, including Clippy lints. | |
env: | |
RUSTFLAGS: "-Dwarnings" | |
jobs: | |
clippy_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: cargo clippy --all-targets --features=desktop | |
- run: cargo clippy --all-targets --features=web |