From 770707e9acd059a36b9825b6bc15e5df7423c98b Mon Sep 17 00:00:00 2001 From: Christian Stewart Date: Wed, 6 Sep 2023 14:02:17 -0700 Subject: .github: drop unsupported Go versions According to https://go.dev/doc/devel/release#policy each major Go release is supported until there are two newer major releases. For example, Go 1.5 was supported until the Go 1.7 release, and Go 1.6 was supported until the Go 1.8 release. Older releases are not receiving security updates. Upcoming dependency updates to golang exp packages use newer features like unsafe.Slice and therefore do not build correctly against Go < 1.19.x. Drop the older versions and add the newer versions to the ci. Signed-off-by: Christian Stewart --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9d868a..ccf5d3f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,10 +10,11 @@ jobs: build: strategy: matrix: + # Each major Go release is supported until there are two newer major releases. + # https://go.dev/doc/devel/release#policy go: - - "1.13.x" # Ubuntu 20.04 LTS "focal" - - "1.15.x" # Debian 11 "Bullseye" - - "1.18.x" # Ubuntu 22.04 LTS "jammy" + - "1.20.x" + - "1.21.x" - "oldstable" # 2nd-latest Golang upstream stable - "stable" # Latest Go upstream stable # Don't cancel everything when one Go version fails -- cgit v1.2.3