From ab6d85bf7599844cd38ec5d0360286a320dd59d3 Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Tue, 22 Sep 2026 01:55:14 +0100 Subject: [PATCH] fix(ci): delete duplicate with: that kills every workflow run at startup `Install Rust` carried two `with:` keys. GitHub's workflow parser rejects a duplicate key outright, so the run was created with **zero jobs** -- the last eight runs on main are all `failure` with nothing inside them. That is not merely a red CI. The ruleset on `main` requires the `Code Coverage` context, and a job that never starts never posts one, so every pull request on this repository is permanently unmergeable without an admin bypass. The last five PRs each posted 0 of 5 required contexts. The second `with:` block is the real one -- `${{ matrix.rust }}` is the job's matrix value, and `matrix.rust` is referenced nowhere else in the file. The first block's `toolchain: v1` restates the action's own tag as if it were a toolchain name and is what an automated rewrite left behind. Deleting the first block is therefore the whole fix; nothing else in the file is touched. Verified with actionlint, which reports `key "with" is duplicated in element of "steps" section` on the current main and nothing on this branch. A duplicate-key-detecting YAML loader agrees, and `yaml.safe_load` alone does not -- it tolerates duplicates silently while GitHub's parser does not, so a plain parse check asserts the opposite of what the runner will do. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01X3hgXxWm6umMgZkjYyHnnm --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 971b5f7..ddd69fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,8 +35,6 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@v1 - with: - toolchain: v1 with: toolchain: ${{ matrix.rust }} components: rustfmt, clippy