Skip to content

Update README.md

Update README.md #20

Workflow file for this run

name: general code check
on:
push:
branches: [main]
pull_request:
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Run tests
run: cargo test --release --features parallel
fmt:
name: fmt
runs-on: ubuntu-latest
env:
RUSTFLAGS: -Dwarnings # fails on warnings as well
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: enforce formatting
run: cargo fmt --check
clippy:
name: clippy
runs-on: ubuntu-latest
env:
RUSTFLAGS: -Dwarnings # fails on warnings as well
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: linting
run: cargo clippy --tests --examples --all-features