Skip to content

Add super simple CLI #70

Add super simple CLI

Add super simple CLI #70

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
cargo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build
- name: Run tests
run: cargo test
- name: Clippy check
run: cargo clippy --no-deps -- --deny warnings
- name: Rustdoc checks
run: cargo doc --no-deps
env:
RUSTDOCFLAGS: "--deny warnings"