19 lines
506 B
YAML
19 lines
506 B
YAML
on: [push]
|
|
|
|
name: Build/test
|
|
|
|
jobs:
|
|
build_and_test:
|
|
name: Build and test
|
|
runs-on: bookworm
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
|
|
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
|
with:
|
|
toolchain: stable
|
|
components: rustfmt, clippy
|
|
|
|
- run: cargo fmt --all -- --check
|
|
- run: cargo clippy --all-targets --all-features -- -D warnings
|
|
- run: cargo test --all-features
|