name: CI on: pull_request: push: branches: - main permissions: contents: read jobs: rust: name: Rust workspace runs-on: macos-15 steps: - name: Checkout uses: actions/checkout@v4 - name: Use pinned Rust toolchain run: rustup show - name: Check formatting run: cargo fmt --all --check - name: Check workspace run: cargo check --workspace --all-targets - name: Lint workspace run: cargo clippy --workspace --all-targets -- -D warnings - name: Test workspace run: cargo test --workspace --all-targets - name: Check Servo engine host run: cargo check -p ely_servo_host --features servo-engine --all-targets - name: Lint Servo engine host run: cargo clippy -p ely_servo_host --features servo-engine --all-targets -- -D warnings - name: Test Servo engine host run: cargo test -p ely_servo_host --features servo-engine --test software_host - name: Audit source file size run: scripts/audit_source_lines.sh