Clippy #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clippy | |
on: [push, pull_request, merge_group] | |
env: | |
RUST_BACKTRACE: 1 | |
jobs: | |
clippy: | |
name: Clippy rust | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
rust: [nightly] | |
steps: | |
- uses: actions/checkout/@v4 | |
- name: Install Dbus | |
if: startsWith(matrix.os, 'ubuntu-') | |
run: | | |
sudo apt update | |
sudo apt install -y libdbus-1-dev pkg-config | |
- name: Install Toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: nightly | |
components: clippy | |
- name: Run clippy | |
run: cargo clippy -- -D warnings |