Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
ci(affected): pin cargo-affected to the published 0.3.2 (#3634)
Maximilian Roos062cf57d8eb3
diff --git a/.claude/skills/running-tend/SKILL.md b/.claude/skills/running-tend/SKILL.mdindex 4e3029b74..f226b16db 100644--- a/.claude/skills/running-tend/SKILL.md+++ b/.claude/skills/running-tend/SKILL.md@@ -287,7 +287,7 @@ Pinned third-party versions in CI are invisible to Dependabot — it follows `CaFor each weekly run, check upstream and bump:-- **`baptiste0928/cargo-install@v3` blocks** in `.github/workflows/{ci,coverage,nightly}.yaml` and `.github/actions/{test,claude}-setup/action.yaml` — every `version: "=X.Y.Z"` against `cargo info <crate>`. Today: `cargo-insta`, `cargo-nextest`, `cargo-llvm-cov`, `cargo-msrv`, `cargo-udeps`, `lychee`, `worktrunk`. The `cargo-affected` install has no version pin (follows default branch) — leave it alone. Verify each crate's `rust-version` against the pinned toolchain and note compatibility in the PR body (see PR #1657 for the format).+- **`baptiste0928/cargo-install@v3` blocks** in `.github/workflows/{affected,ci,coverage,nightly}.yaml` and `.github/actions/{test,claude}-setup/action.yaml` — every `version: "=X.Y.Z"` against `cargo info <crate>`. Today: `cargo-affected`, `cargo-insta`, `cargo-nextest`, `cargo-llvm-cov`, `cargo-msrv`, `cargo-udeps`, `lychee`, `worktrunk`. `cargo-affected` is pinned twice in `affected.yaml`; move both together. Verify each crate's `rust-version` against the pinned toolchain and note compatibility in the PR body (see PR #1657 for the format).- **`hustcer/setup-nu@v3`** `version:` input — latest from `gh api repos/nushell/nushell/releases/latest --jq '.tag_name'`. Four call sites: `coverage.yaml` (`code-coverage`), `nightly.yaml` (`feature-powerset`), `benchmarks.yaml` (`benchmarks`), and `actions/test-setup/action.yaml`.- **`taiki-e/[email protected]`** `tool: zola@<ver>` in the `check-docs` job — latest from `gh api repos/getzola/zola/releases/latest --jq '.tag_name'`.- **Runner images** — `ubuntu-24.04`, `macos-15`, `windows-2022`. Keep `windows-2022` pinned (actions/runner-images#12677 — windows-2025 lacks the D: drive).diff --git a/.github/workflows/affected.yaml b/.github/workflows/affected.yamlindex da10c8463..e6d928281 100644--- a/.github/workflows/affected.yaml+++ b/.github/workflows/affected.yaml@@ -90,6 +90,10 @@ jobs:# - Cache keys include `runner.os` (fingerprint embeds `rustc -vV`) and a# manual `db-v{N}` marker. Bump the marker if cargo-affected ships an# on-disk schema change; the cache is otherwise version-agnostic.+ # - Both jobs pin the same cargo-affected version. A drift between the two+ # meets `migrate_legacy_tables`, which resets the coverage tables rather+ # than erroring, so the DB rebuilds from empty and selection degrades+ # while the advisory job stays green. Bump both together.collect-affected:name: collect affected coverage (${{ matrix.name }})if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch' }}@@ -131,8 +135,7 @@ jobs:uses: baptiste0928/cargo-install@v3with:crate: cargo-affected- git: https://github.com/max-sixty/cargo-affected- # No rev/branch/tag → action resolves to latest default-branch sha.+ version: "=0.3.2"- name: Install llvm-toolsrun: rustup component add llvm-tools@@ -243,8 +246,7 @@ jobs:uses: baptiste0928/cargo-install@v3with:crate: cargo-affected- git: https://github.com/max-sixty/cargo-affected- # No rev/branch/tag → action resolves to latest default-branch sha.+ version: "=0.3.2"- name: 🎯 Run affected testsenv: