clippy #42
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
on: [push, pull_request] | |
name: CI | |
jobs: | |
lints: | |
name: Linux | |
runs-on: ubuntu-latest | |
env: | |
RUST_BACKTRACE: full | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: dtolnay/rust-toolchain@nightly | |
with: | |
components: rustfmt, clippy | |
- name: Apt Update | |
run: sudo apt-get -y update | |
- name: Install Soapy | |
run: sudo apt-get -y install libsoapysdr-dev | |
- name: Fmt | |
run: cargo fmt --all -- --check | |
- name: Clippy | |
run: cargo clippy --all-targets --workspace --features=rtlsdr,aaronia_http,soapy -- -D warnings | |
- name: Test | |
run: cargo test --all-targets --features=aaronia_http,rtlsdr,soapy |