c_interface: tpi_usb_mode_v2, tpi_reset_node #430
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: 'cargo test & clippy' | |
on: | |
push: | |
paths: | |
- "**/Cargo.lock" | |
- "**/Cargo.toml" | |
- "**/*.rs" | |
pull_request: | |
paths: | |
- "**/Cargo.lock" | |
- "**/Cargo.toml" | |
- "**/*.rs" | |
# Make sure CI fails on all warnings, including Clippy lints | |
# env: | |
# RUSTFLAGS: "-Dwarnings" | |
jobs: | |
clippy_test_check: | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
sudo apt-get update &&\ | |
sudo apt-get install libusb-1.0-0-dev -y | |
- uses: actions/checkout@v3 | |
- name: Run Clippy | |
run: cargo clippy --all-targets --all-features -- -D warnings | |
- name: Cargo test | |
run: cargo test -- --nocapture | |