name: Rust test
on:
push:
branches:
pull_request:
branches:
env:
CARGO_TERM_COLOR: always
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo doc
- run: cargo test
- run: cargo test --all-features
- run: cargo clippy -- -D warnings
- run: cargo clippy --all-features -- -D warnings