Skip to content

chore: add badges to readme #5

chore: add badges to readme

chore: add badges to readme #5

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths-ignore:
- '**/*.md'
- '!.github/workflows/ci.yml'
pull_request:
branches: [main]
paths-ignore:
- '**/*.md'
- '!.github/workflows/ci.yml'
env:
CARGO_TERM_COLOR: always
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust Toolchain
run: |
rustup toolchain install stable --profile minimal
rustup component add clippy
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt --check
- name: Lint
run: cargo clippy -- -D warnings
- name: Test
run: cargo test
- name: Doc
run: RUSTDOCFLAGS='-D warnings' cargo doc --no-deps --document-private-items