Skip to content

Add github CI, improve README #2

Add github CI, improve README

Add github CI, improve README #2

Workflow file for this run

# Reference:
# - https://doc.rust-lang.org/stable/clippy/continuous_integration/github_actions.html
# - https://github.com/actions/starter-workflows/blob/main/ci/rust.yml
on: push
name: Clippy check
# Make sure CI fails on all warnings, including Clippy lints
env:
RUSTFLAGS: "-Dwarnings"
CARGO_TERM_COLOR: always
jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run fmt
run: cargo fmt
- name: Run Clippy
run: cargo clippy --all-targets --all-features
- name: Run tests
run: cargo test --verbose