Skip to content

cli deps added

cli deps added #3

Workflow file for this run

name: Check
on: [
push,
pull_request,
]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
RUST_BACKTRACE: 1
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout rust code
uses: actions/checkout@v4
with:
sparse-checkout: |
Cargo.lock
Cargo.toml
cli
lib
- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components:
clippy
rustfmt
toolchain: stable
- name: Run tests
run: cargo test --all-features --verbose
- name: Run checks
run: cargo fmt -- --check
- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings