Run CI on pull requests
Adds the pull_request trigger so PRs get tests and the zizmor audit.
Drops the unused setup-uv step — leftover from disabled coverage
tooling, and once PRs can run the workflow zizmor flags it for cache
poisoning.

Assisted-by: Claude Opus 4.7 via Claude Code
change lxsywuvokwmuvurskkwktzstprpqztuk
commit 451539cef2233808b0846e611d035454052a6594
author Alpha Chen <alpha@kejadlen.dev>
date
parent 63e7fd22
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f114045..244e0da 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -4,11 +4,14 @@ on:
   push:
     branches: [main]
     tags: [v*]
+  pull_request:
+    branches: [main]
 
 permissions: {}
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
 
 jobs:
   test:
@@ -22,7 +25,6 @@ jobs:
           persist-credentials: false
       - run: rustup component add clippy rustfmt
       - run: cargo install just
-      - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6
       - run: cargo fmt --check
       - run: just clippy test
       # Coverage and mutation testing disabled during early exploratory work.