name: PR Check on: pull_request: branches: [main] env: SQLX_OFFLINE: "true" jobs: check: name: Build & Test runs-on: rust steps: - name: Checkout code uses: actions/checkout@v4 - name: Cargo build all run: cargo build --all --verbose - name: Cargo test all run: cargo test --all --lib --verbose 2>&1 | tail -150 || true - name: Cargo clippy run: cargo clippy --all --all-targets -- -D warnings 2>&1 | tail -50 || true