diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 06c8a40..eb95927 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,7 +16,11 @@ jobs: steps: - uses: actions/checkout@v3 - run: sudo apt-get update && sudo apt-get install -y libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev && sudo apt-get install libudev-dev && cargo install cargo-bundle - - name: Build - run: cargo build --verbose + - name: Check + run: cargo check --verbose + - name: Format + run: cargo fmt --all -- --check --verbose + - name: Clippy + run: cargo clippy -- -D warnings --verbose - name: Run tests run: cargo test --verbose