chore(deps): bump serde from 1.0.210 to 1.0.215 in /rustbee-common #48
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 Lint and Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
clippy: | |
strategy: | |
matrix: | |
directories: | |
- path: . | |
- path: ./rustbee-common | |
- path: ./rustbee-daemon | |
- path: ./rustbee-gui | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust Toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: clippy | |
override: true | |
- name: Cache cargo & target directories | |
uses: Swatinem/rust-cache@v2 | |
- name: Install dependencies | |
run: | | |
sudo apt install libdbus-1-dev pkg-config | |
- name: Lint and Check every Rust dir with Clippy | |
working-directory: ${{ matrix.directories.path }} | |
run: | |
cargo clippy --verbose |