From 3e9f45ac7008499dc4d40ec587f3d0f721012891 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Thu, 15 Aug 2024 06:46:00 +1000 Subject: [PATCH] feat: bump support for go 1.23 --- .github/workflows/test.yml | 7 +++++-- go.mod | 4 ++-- go.sum | 4 ++-- platform.go | 12 ++++++++++-- 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eb7eb63..310fb8c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,8 +20,11 @@ jobs: "1.16.15", "1.17.13", "1.18.10", - "1.19.5", - "1.20.0", + "1.19.13", + "1.20.14", + "1.21.13", + "1.22.6", + "1.23.0", ] fail-fast: true diff --git a/go.mod b/go.mod index 35bdc51..5fa48d8 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/authelia/gox -go 1.20 +go 1.22 require ( - github.com/hashicorp/go-version v1.6.0 + github.com/hashicorp/go-version v1.7.0 github.com/mitchellh/iochan v1.0.0 ) diff --git a/go.sum b/go.sum index fd3ac47..3a35a07 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,4 @@ -github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= -github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= +github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/mitchellh/iochan v1.0.0 h1:C+X3KsSTLFVBr/tK1eYN/vs4rJcvsiLU338UhYPJWeY= github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= diff --git a/platform.go b/platform.go index ea73212..8bd9ca0 100644 --- a/platform.go +++ b/platform.go @@ -131,7 +131,9 @@ var ( Platforms_1_9 = Platforms_1_8 // unannounced, but dropped support for android/amd64 - Platforms_1_10 = addDrop(Platforms_1_9, nil, []Platform{{"android", "amd64", false}}) + Platforms_1_10 = addDrop(Platforms_1_9, nil, []Platform{ + {"android", "amd64", false}, + }) Platforms_1_11 = addDrop(Platforms_1_10, []Platform{ {"js", "wasm", true}, @@ -186,7 +188,13 @@ var ( Platforms_1_21 = Platforms_1_20 - Platforms_1_22 = Platforms_1_21 + Platforms_1_22 = addDrop(Platforms_1_21, []Platform{ + {"openbsd", "riscv64", false}, + }, nil) + + Platforms_1_23 = addDrop(Platforms_1_22, []Platform{ + {"openbsd", "ppc64", false}, + }, nil) PlatformsLatest = Platforms_1_22 )