test(ci): expect setup-go v7 in the plugin release workflow

This commit is contained in:
t8y2 committed 2026-10-28 00:12:00 +08:00
1 parent eba604cbc0
commit ab69d6e547
1 file changed
+1 -1
@@ -108,7 +108,7 @@ test("pnpm setup precedes setup-node cache restoration and respects nested packa
});
test("Go cache includes backend go.sum and is disabled when no checksum file exists", () => {
const goStep = workflowStep("actions/setup-go@v5");
const goStep = workflowStep("actions/setup-go@v7");
assert.ok(goStep.includes("cache-dependency-path: ${{ inputs.working-directory }}/**/go.sum"));
assert.ok(goStep.includes("cache: ${{ hashFiles(format('{0}/**/go.sum', inputs.working-directory)) != '' }}"));
assert.ok(goStep.includes("if: inputs.go-version != ''"));