fix action by installing dependencies #44
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: sudo apt-get install javascriptcoregtk-4.1 libsoup-3.0 webkit2gtk-4.1; cargo clippy --features=desktop | |
- run: cargo clippy --all-targets --features=web |