Skip to content

Commit

Permalink
feat: run clippy as part of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrutchf committed Dec 1, 2024
1 parent ab9cfc8 commit 11b626b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
sudo apt-get update
sudo apt-get install -y libdbus-1-dev \
pkg-config
- name: Install Clippy
run: cargo install clippy
- name: Run Clippy
run: cargo clippy -- -D warnings
- name: Run tests
run: cargo test --verbose
- name: Build
Expand All @@ -40,6 +44,10 @@ jobs:
- uses: actions/checkout@v4
- name: Install Rust Toolchains
run: rustup target add x86_64-pc-windows-msvc aarch64-pc-windows-msvc
- name: Install Clippy
run: cargo install clippy
- name: Run Clippy
run: cargo clippy -- -D warnings
- name: Run tests
run: cargo test --verbose
- name: Build
Expand All @@ -65,6 +73,10 @@ jobs:
- uses: actions/checkout@v4
- name: Install Rust Toolchains
run: rustup target add x86_64-apple-darwin aarch64-apple-darwin
- name: Install Clippy
run: cargo install clippy
- name: Run Clippy
run: cargo clippy -- -D warnings
- name: Run tests
run: cargo test --verbose
- name: Build
Expand Down

0 comments on commit 11b626b

Please sign in to comment.