name: Rust
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@v4
- name: Clippy
run: cargo clippy -- -W clippy::pedantic
- name: Format
run: cargo fmt -- --check
- name: Test
run: cargo test
- name: Test with all features
run: cargo test --all-features