Skip to content

Commit

Permalink
add rust fmt and clippy to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hacknus committed Dec 22, 2024
1 parent 25ad1d3 commit 9c03c5c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9c03c5c

Please sign in to comment.