update release workflow to use latest libusb and update instructions … #106
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: CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install libusb | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libusb-dev libusb-1.0 | |
- uses: actions/checkout@v4 | |
- name: Setup Rust | |
run: | | |
rustup self update | |
rustup toolchain install stable --profile minimal | |
- name: Run tests | |
run: cargo test --all | |
lint: | |
runs-on: ubuntu-22.04 | |
continue-on-error: true | |
steps: | |
- name: Install libusb | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libusb-dev libusb-1.0 | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
run: | | |
rustup self update | |
rustup toolchain install stable --profile minimal | |
rustup component add clippy | |
- name: Clippy | |
run: cargo clippy |