diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7d92d3..14c2154 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: matrix: include: - name: macOS ARM64 - os: macos-14 + os: macos-15 artifact: stackcord-darwin-arm64 extension: "" - name: Windows x64 @@ -51,7 +51,7 @@ jobs: persist-credentials: false - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 with: - go-version: 1.26.6 + go-version-file: cli/go.mod cache-dependency-path: cli/go.sum - name: Unit and integration tests working-directory: cli @@ -82,7 +82,7 @@ jobs: persist-credentials: false - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 with: - go-version: 1.26.6 + go-version-file: cli/go.mod cache-dependency-path: cli/go.sum - name: Plugin, documentation, security, and strict-profile contracts env: @@ -125,7 +125,7 @@ jobs: persist-credentials: false - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 with: - go-version: 1.26.6 + go-version-file: cli/go.mod cache-dependency-path: cli/go.sum - name: Multi-repository service continuity scenario env: @@ -156,7 +156,7 @@ jobs: persist-credentials: false - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 with: - go-version: 1.26.6 + go-version-file: cli/go.mod cache-dependency-path: cli/go.sum - name: Build all supported targets without CGO shell: bash diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7cb5d4..5329b30 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ jobs: test "$(python3 -c 'import json; print(json.load(open(".codex-plugin/plugin.json"))["version"])')" = "${TAG#v}" - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 with: - go-version: 1.26.6 + go-version-file: cli/go.mod cache-dependency-path: cli/go.sum - name: Test exact source working-directory: cli diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 86583d8..f486c85 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -23,7 +23,7 @@ jobs: languages: go - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 with: - go-version: 1.26.6 + go-version-file: cli/go.mod cache-dependency-path: cli/go.sum - name: Build for CodeQL working-directory: cli @@ -44,7 +44,7 @@ jobs: persist-credentials: false - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 with: - go-version: 1.26.6 + go-version-file: cli/go.mod cache-dependency-path: cli/go.sum - name: Race tests working-directory: cli diff --git a/cli/go.mod b/cli/go.mod index 2fdc70d..3471489 100644 --- a/cli/go.mod +++ b/cli/go.mod @@ -2,6 +2,8 @@ module github.com/kcrmin/Stackcord/cli go 1.26.0 +toolchain go1.26.11 + require ( github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 github.com/spf13/cobra v1.10.2 diff --git a/scripts/validate_ci_test.py b/scripts/validate_ci_test.py index 2e521e6..141ddd7 100644 --- a/scripts/validate_ci_test.py +++ b/scripts/validate_ci_test.py @@ -29,7 +29,7 @@ def test_ci_runs_product_contract_and_dogfood_checks_without_model_calls(self): def test_pull_request_uses_two_representative_native_full_test_jobs(self): ci = (ROOT / ".github" / "workflows" / "ci.yml").read_text(encoding="utf-8") - for token in ("macos-14", "windows-2025"): + for token in ("macos-15", "windows-2025"): self.assertIn(token, ci) for token in ("macos-15-intel", "windows-11-arm"): self.assertNotIn(token, ci) diff --git a/scripts/validate_release_config.py b/scripts/validate_release_config.py index 92e3421..d58d5b5 100755 --- a/scripts/validate_release_config.py +++ b/scripts/validate_release_config.py @@ -36,7 +36,7 @@ def validate(root: pathlib.Path) -> list[str]: if not re.search(r"@[0-9a-f]{40}$", use): errors.append(f"GitHub Action is not commit-pinned: {path.name}: {use}") ci = (root / ".github" / "workflows" / "ci.yml").read_text(encoding="utf-8") if (root / ".github" / "workflows" / "ci.yml").exists() else "" - for label in ("macos-14", "windows-2025"): + for label in ("macos-15", "windows-2025"): if label not in ci: errors.append(f"representative native CI target missing: {label}") for label in ("macos-15-intel", "windows-11-arm"):