@@ -108,12 +108,9 @@ assert matrix_job["strategy"] == {
108108matrix_steps = matrix_job["steps"]
109109checkout = next(step for step in matrix_steps if step.get("uses") == "actions/checkout@v7")
110110node = next(step for step in matrix_steps if step.get("uses") == "actions/setup-node@v7")
111- go = next(step for step in matrix_steps if step.get("uses") == "actions/setup-go@v7")
112111bun = next(step for step in matrix_steps if step.get("uses") == "oven-sh/setup-bun@v2")
113112assert node["with"]["node-version"] == "22.12.0"
114- assert go["if"] == "runner.os == 'Linux'"
115- assert go["with"]["go-version"] == "1.25.0"
116- assert go["with"]["cache"] is False
113+ assert not any(step.get("uses", "").startswith("actions/setup-go@") for step in matrix_steps)
117114assert bun["with"]["bun-version"] == "1.3.14"
118115codex = next(step for step in matrix_steps if step.get("name") == "Install current Codex CLI")
119116assert codex["run"] == "npm install --global @openai/codex@latest"
@@ -126,7 +123,13 @@ assert any(
126123)
127124actionlint = next(step for step in matrix_steps if step.get("name") == "Validate GitHub Actions workflows")
128125assert actionlint["if"] == "runner.os == 'Linux'"
129- assert "actionlint@v1.7.12" in actionlint["run"]
126+ assert actionlint["env"] == {
127+ "ACTIONLINT_VERSION": "1.7.12",
128+ "ACTIONLINT_SHA256": "8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8",
129+ }
130+ assert "rhysd/actionlint/releases/download" in actionlint["run"]
131+ assert "sha256sum --check --strict" in actionlint["run"]
132+ assert "go install" not in actionlint["run"]
130133validation = next(step for step in matrix_steps if step.get("name") == "Run complete validation")
131134assert validation["run"] == "bash tests/ci.sh"
132135assert "tests/run.sh" not in test_source
0 commit comments