chore(deps): update thiserror requirement from 1.0.50 to 2.0.0 #46
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: Rust | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
format: | |
name: Validate formatting | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: FrancisRussell/[email protected] | |
name: Install Rustup | |
with: | |
command: install-rustup | |
toolchain: nightly | |
profile: default | |
default: true | |
- uses: FrancisRussell/[email protected] | |
name: Cargo fmt | |
with: | |
command: cargo fmt | |
toolchain: nightly | |
args: --all -- --check | |
annotations: true | |
- uses: FrancisRussell/[email protected] | |
name: Install Cargo Sort | |
with: | |
command: cargo install | |
args: cargo-sort | |
toolchain: nightly | |
annotations: true | |
- name: Check that `Cargo.toml` is sorted | |
run: cargo sort -wgc | |
clippy: | |
name: Lint with Clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install g++ pkg-config libx11-dev libasound2-dev libudev-dev clang mold | |
- uses: FrancisRussell/[email protected] | |
name: Install Rustup | |
with: | |
command: install-rustup | |
toolchain: nightly | |
profile: default | |
default: true | |
- uses: FrancisRussell/[email protected] | |
name: Cargo clippy | |
with: | |
command: cargo clippy | |
toolchain: nightly | |
args: --workspace --all-features -- -A unused_variables -A dead_code -A clippy::type_complexity -A clippy::missing_safety_doc | |
annotations: true |