From e5dfb566b5d3b9429bd0064501e2ac3cc7de71ff Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 19:02:07 +0900 Subject: [PATCH 1/5] chore: pin the toolchain to exact versions in .mise.toml Loose or alias specs resolve differently over time and Renovate's mise manager cannot bump them. Exact pins put the toolchain on Renovate with the 7-day aging policy. Part of the org-wide mise single-source rollout. --- .mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mise.toml b/.mise.toml index b55f8c1..5ab3c3a 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,2 +1,2 @@ [tools] -go = "latest" +go = "1.26.1" From 1e0f9e8102857f08ed53c1f996a726f3dfdb3305 Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 19:02:08 +0900 Subject: [PATCH 2/5] ci: install the toolchain via mise (shared setup-toolchain action) Per-workflow setup actions with their own version specs are replaced by h13/.github's setup-toolchain composite, which reads .mise.toml via mise-action; h13/.github workflow refs are bumped to the same commit (h13/.github#246). --- .github/workflows/ci.yaml | 20 +++++--------------- .github/workflows/release.yaml | 4 +--- 2 files changed, 6 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9d76ae6..e720d3f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,9 +16,7 @@ jobs: contents: read steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7.1.0 - with: - go-version: stable + - uses: h13/.github/actions/setup-toolchain@d43cf0b8f70c16fe84e1f26c5851c12bf3252155 # main - name: Install actionlint run: go install github.com/rhysd/actionlint/cmd/actionlint@v1.7.11 - name: Run actionlint @@ -30,9 +28,7 @@ jobs: contents: read steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7.1.0 - with: - go-version: stable + - uses: h13/.github/actions/setup-toolchain@d43cf0b8f70c16fe84e1f26c5851c12bf3252155 # main - uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 with: version: v2.15.0 @@ -43,9 +39,7 @@ jobs: contents: read steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7.1.0 - with: - go-version: stable + - uses: h13/.github/actions/setup-toolchain@d43cf0b8f70c16fe84e1f26c5851c12bf3252155 # main - name: Run tests run: go test ./... -race -coverprofile=coverage.out -covermode=atomic - name: Upload coverage to Codecov @@ -80,9 +74,7 @@ jobs: contents: read steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7.1.0 - with: - go-version: stable + - uses: h13/.github/actions/setup-toolchain@d43cf0b8f70c16fe84e1f26c5851c12bf3252155 # main - name: Build run: go build -o /dev/null ./cmd/gtm-users/ - name: Vet @@ -94,9 +86,7 @@ jobs: contents: read steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - - uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7.1.0 - with: - go-version: stable + - uses: h13/.github/actions/setup-toolchain@d43cf0b8f70c16fe84e1f26c5851c12bf3252155 # main - name: Install govulncheck run: go install golang.org/x/vuln/cmd/govulncheck@v1.8.0 - name: Run govulncheck diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a21a388..1e0c996 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,9 +18,7 @@ jobs: with: fetch-depth: 0 - - uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7.1.0 - with: - go-version: stable + - uses: h13/.github/actions/setup-toolchain@d43cf0b8f70c16fe84e1f26c5851c12bf3252155 # main - uses: sigstore/cosign-installer@756fe2d284c7292c4e9b62c8a28f1e5629c59532 # v4.1.3 From 719ee8daabfed7638a6c588a2aab22cba4fd7d0e Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 19:05:00 +0900 Subject: [PATCH 3/5] chore: pin go 1.26.2 govulncheck fails on 1.26.1: 25 stdlib vulnerabilities fixed in 1.26.2. The old go-version: stable always picked the latest patch, which is why this only surfaced once the version was pinned. --- .mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mise.toml b/.mise.toml index 5ab3c3a..966f88a 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,2 +1,2 @@ [tools] -go = "1.26.1" +go = "1.26.2" From ae3b0c0b202ff1c5481cb624a35fd40725237668 Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 19:06:54 +0900 Subject: [PATCH 4/5] chore: pin go 1.26.3, the latest patch release 1.26.2 still fails govulncheck (GO-2026-4971 etc., fixed in 1.26.3). Security patches bypass the Renovate aging window (vulnerabilityAlerts run at any time), so the pin tracks the newest patch release. --- .mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mise.toml b/.mise.toml index 966f88a..b1b1cc4 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,2 +1,2 @@ [tools] -go = "1.26.2" +go = "1.26.3" From 0a6f381446cf8acdef3130378f05ee9333d124ba Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 19:08:43 +0900 Subject: [PATCH 5/5] chore: pin go 1.26.11, the newest 1.26 patch 1.26.3 was picked off a govulncheck fix hint, but the branch is at 1.26.11 (go.dev/dl) and the remaining findings are fixed across 1.26.9-1.26.11. Stays on the 1.26 line that go.mod declares; 1.27.4 exists but a major-line jump belongs to its own PR. --- .mise.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mise.toml b/.mise.toml index b1b1cc4..694a828 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,2 +1,2 @@ [tools] -go = "1.26.3" +go = "1.26.11"