Skip to content

Update README.md

Update README.md #30

Workflow file for this run

name: Rust CI
on:
push:
branches: [main]
pull_request:
concurrency:
group: rust-ci-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-and-test:
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy,rustfmt
- name: Cache cargo artifacts
uses: Swatinem/rust-cache@v2
with:
cache-all-crates: true
- name: Format check
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Test
run: cargo test --all