---
name: Rust
"on":
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: cargo install cargo-deny
- name: Install cargo-all-features
run: cargo install cargo-all-features
- name: Build
run: cargo build --verbose
env:
RUSTFLAGS: -Dwarnings
- name: Run tests
run: cargo test-all-features
env:
RUSTFLAGS: -Dwarnings
- name: Check formatting
run: cargo fmt -- --check