aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorChristian Stewart2023-09-06 14:02:17 -0700
committerrfjakob2023-10-29 13:10:06 +0100
commit770707e9acd059a36b9825b6bc15e5df7423c98b (patch)
tree06b9d998d8a1bdec93a51652b1ade3cd15a74596 /.github/workflows
parent4ef110f1f3dd6308d88e951aa89dc426d32ad6f1 (diff)
.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 <christian@aperture.us>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 4 insertions, 3 deletions
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