name: CI
on:
push:
branches:
pull_request:
workflow_dispatch:
# Prepared ahead of time: this crate has no git remote yet (see the crate's
# README/handoff notes), so this workflow can't run until one exists.
# No publish job: publishing to crates.io is a separate, explicit decision.
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- run: cargo check --all-targets --all-features
- run: cargo test --all-features
- run: cargo clippy --all-targets --all-features -- -D warnings