Skip to content

Build releases with stable Go; test min and stable in CI - #28

Merged
archlemon merged 1 commit into
mainfrom
chore/go-toolchain
Nov 14, 2026
Merged

archlemon merged 1 commit into
mainfrom
chore/go-toolchain

Conversation

@archlemon

Copy link
Copy Markdown
Member

Fixes #27.

  • release.yaml: GO_VERSION: stable — published binaries get current stdlib security fixes (TLS, HTTP, SMTP, mail parsing).
  • ci.yaml: matrix ["1.22", "stable"]; tests (race) on both so the go.mod minimum stays honest; golangci-lint only on stable.
  • go.mod unchanged (go 1.22), so go install users on older toolchains are unaffected.

Check names become lint-test (1.22) / lint-test (stable) (no branch protection relies on the old name).

Release binaries were built with Go 1.22, which is long out of support,
so they shipped crypto/tls, net/http, net/smtp and net/mail without the
security fixes since. Build with the current stable toolchain. go.mod
keeps go 1.22 as the minimum, and CI now tests both 1.22 and stable,
linting once on stable.

Fixes #27
@archlemon archlemon added security Security-relevant fix or hardening tooling Build, CI, lint, release labels Nov 14, 2026
@archlemon
archlemon merged commit 9c64efc into main Nov 14, 2026
2 checks passed
@archlemon
archlemon deleted the chore/go-toolchain branch November 14, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security Security-relevant fix or hardening tooling Build, CI, lint, release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release binaries are built with Go 1.22 (EOL)

1 participant