Skip to content

Update Rust crate clap to 4.4.1 #437

Update Rust crate clap to 4.4.1

Update Rust crate clap to 4.4.1 #437

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- run: rustup set profile minimal
- run: rustup show
- run: cargo check --all-targets
env:
RUSTFLAGS: "-D warnings"
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- run: rustup set profile minimal
- run: rustup show
- run: cargo test
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- run: rustup set profile minimal
- run: rustup show
- run: rustup component add rustfmt
- run: cargo fmt -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- run: rustup set profile minimal
- run: rustup show
- run: rustup component add clippy
- run: cargo clippy -- --deny warnings --allow clippy::unknown-clippy-lints