Skip to content

Bump clap from 4.5.17 to 4.5.20 #780

Bump clap from 4.5.17 to 4.5.20

Bump clap from 4.5.17 to 4.5.20 #780

Workflow file for this run

on: push
name: Lint
jobs:
check:
name: Lint source code
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Cache rust artifacts
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }}-{{ hashFiles('rust-toolchain.toml') }}-v5
- name: Run cargo fmt
run: |
cargo fmt --all -- --check
- name: Run clippy
run: |
cargo clippy -- -D warnings