Refactor testing #51
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: lint | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: sudo apt update && sudo apt install jackd2 libjack-jackd2-0 libjack-jackd2-dev | |
- name: Lint (No Features) | |
run: cargo clippy --all-targets -- -D clippy::all | |
- name: Lint (metadata) | |
run: cargo clippy --all-targets --no-default-features --features metadata -- -D clippy::all | |
- name: Cargo Fmt | |
run: cargo fmt --check |