Skip to content

Commit

Permalink
deny clippy warnings in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
andtsa committed Jul 13, 2024
1 parent 1c03cdb commit 807df0e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Build
run: rustup target add thumbv7em-none-eabihf && cd app && cargo build
- name: Build & Lint
run: rustup target add thumbv7em-none-eabihf && cd app && cargo clippy -- -D warnings


station:

Expand All @@ -32,8 +33,8 @@ jobs:
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libgtk-3-dev
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
- name: Build
run: cd gs/station && cargo build --features full
- name: Build & Lint
run: cd gs/station && cargo clippy --features full -- -D warnings
- name: Test
run: cd gs/station && cargo test --features full

0 comments on commit 807df0e

Please sign in to comment.