Skip to content

chore(deps): update nutype requirement from 0.4.0 to 0.5.0 (#13) #45

chore(deps): update nutype requirement from 0.4.0 to 0.5.0 (#13)

chore(deps): update nutype requirement from 0.4.0 to 0.5.0 (#13) #45

Workflow file for this run

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/ferrous-actions@v0.1.0-beta.2
name: Install Rustup
with:
command: install-rustup
toolchain: nightly
profile: default
default: true
- uses: FrancisRussell/ferrous-actions@v0.1.0-beta.2
name: Cargo fmt
with:
command: cargo fmt
toolchain: nightly
args: --all -- --check
annotations: true
- uses: FrancisRussell/ferrous-actions@v0.1.0-beta.2
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/ferrous-actions@v0.1.0-beta.2
name: Install Rustup
with:
command: install-rustup
toolchain: nightly
profile: default
default: true
- uses: FrancisRussell/ferrous-actions@v0.1.0-beta.2
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