name: Rust CI on: push: branches: [ main ] pull_request: branches: [ main ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up Rust run: rustup default stable - name: Build run: cargo build --all-features - name: Run tests run: cargo test --all-features - name: Check formatting run: cargo fmt --check - name: Run clippy run: cargo clippy --all-features -- -D warnings