Skip to content

chore(deps): bump clap from 4.5.2 to 4.5.3 (#78) #176

chore(deps): bump clap from 4.5.2 to 4.5.3 (#78)

chore(deps): bump clap from 4.5.2 to 4.5.3 (#78) #176

Workflow file for this run

name: Rust CI
on:
push:
paths:
- '**/*.rs'
- '**/*.toml'
workflow_dispatch:
jobs:
job:
name: Rust CI (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Cache cargo files
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
./target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
# Bad formatting
- name: Run fmt
run: cargo fmt --all -- --check
# Code compiles
- name: Run check
run: cargo check --all
# Follow "rules"
- name: Run clippy
run: cargo clippy --all -- -D warnings
# Test passes
- name: Run test
run: cargo test --all