diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9b1663056..a34a89254 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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: @@ -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