You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build releases with a supported Go toolchain and add govulncheck to CI #38
Release binaries and the Docker image are built with Go 1.24.2. CI uses go-version-file: go.mod and the Dockerfile pins golang:1.24.2-alpine. The 1.24 line has had many security point releases since 1.24.2, and as of this review it is past its support window (Go supports the two most recent majors). Users downloading a "fresh" binary get a stdlib that is many patches old.
govulncheck currently reports 0 reachable vulnerabilities for this code, so this is hygiene rather than an active exposure. Nothing in CI would catch it if that changed, though.
The ROADMAP says the go directive must stay at 1.24.2 because bubbles requires it. That's fine: the go line is a minimum. The build toolchain can be newer.
Evidence
go.mod:3: go 1.24.2, with no toolchain line.
.github/workflows/go.yml: setup-go with go-version-file: 'go.mod' in the build and release jobs, plus a guard step that fails on any change to the directive.
Dockerfile:1: golang:1.24.2-alpine@sha256:....
There is no govulncheck step in go.yml or codeql.yml.
Suggested approach
Keep go 1.24.2 as the minimum, and build with the current stable toolchain: go-version: stable (or a toolchain go1.xx.y directive) in release jobs, and bump the Docker builder image. Optionally keep a matrix leg on 1.24.x to prove the minimum still builds.
Add golang/govulncheck-action to the CI build job (fail on reachable vulns).
Let Dependabot track the Docker base images (package-ecosystem: docker), since they are digest-pinned and will otherwise rot.
Done when
The next release is built with a supported Go toolchain (go version -m subenum shows it).
CI runs govulncheck on every PR.
Dependabot opens PRs for the Dockerfile base images.
Activity
ci: run golangci-lint on the minimum Go leg
ci: bump golangci-lint to v2.14.0 and lint on the stable Go leg