name: 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 --verbose - name: Run tests run: cargo test --all-features --verbose - name: Check formatting run: cargo fmt --check --all - name: Run clippy run: cargo clippy --all-features -- -D warnings