Skip to content
Evergreen Evergreen
Documentation

Go 1.20 and older are no longer supported

End of support as of 2024-02-06. Replacement: Go 1.26 or later. Source: Go release history and support policy.

Check a version:

evergreen check pkg:generic/golang

The Go release policy supports a major release until two newer major releases exist. Go 1.20 support ended when Go 1.22 was released, and every older release lost support before that.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status End of support
Severity high
Ecosystem go
Component pkg:generic/golang
Affected versions vers:golang/<1.21.0
Date from the source 2024-02-06
Replacement Go 1.26 or later
Evidence last seen 2026-10-17
Reviewed 2026-10-17 by arminazimi
Review due 2027-04-15 (180 days after the last review)
Rule ID go.runtime.end-of-support-1.20-and-older

Sources

Migration

Constraints

  • Keep go.mod, go.work, CI matrices, and container images on one supported Go release.
  • Check that every dependency’s own go directive is compatible with the target toolchain.

Steps

  1. Raise the Go version. Raise the reported go or toolchain line from Go 1.20 or older to a supported release (see the replacement), for example with go get go@<version> toolchain@<version>.
  2. Align other Go version surfaces. Update CI setup-go versions, Dockerfile golang: images, and other go.mod or go.work files in the repository so they agree.

Verification

  • go version: Confirm the active toolchain is the intended release.
  • go build ./... && go test ./...: Build and test every package on the new release.
  • go vet ./...: Catch problems the newer release reports.

Detected by

The go detector. See Detectors and Compatibility.

Other versions of this product

Same ecosystem

Data

This page is generated from registry/go.json, rule go.runtime.end-of-support-1.20-and-older, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated