From fe0ea3775c5b7c0bafe0bdf250ef109837e97830 Mon Sep 17 00:00:00 2001 From: WGH Date: Tue, 26 Mar 2024 00:34:16 +0300 Subject: [PATCH] Test on Go 1.22, drop old versions The Go team officially supports the two latest releases, so we're even being generous here. Go 1.17 notably lacks useful strings.Cut function. --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12e21086..20f2af00 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,9 +15,10 @@ jobs: max-parallel: 4 matrix: go: [ + "1.22", + "1.21", + "1.20", "1.19", - "1.18", - "1.17", ] steps: @@ -46,9 +47,10 @@ jobs: max-parallel: 4 matrix: go: [ + "1.22", + "1.21", + "1.20", "1.19", - "1.18", - "1.17", ] steps: