Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bump support for go 1.23 #6

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/authelia/gox

go 1.20
go 1.23

require (
github.com/hashicorp/go-version v1.6.0
github.com/hashicorp/go-version v1.7.0
github.com/mitchellh/iochan v1.0.0
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -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=
15 changes: 12 additions & 3 deletions platform.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down Expand Up @@ -186,9 +188,15 @@ 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
PlatformsLatest = Platforms_1_23
)

// SupportedPlatforms returns the full list of supported platforms for
Expand Down Expand Up @@ -235,6 +243,7 @@ func SupportedPlatforms(v string) []Platform {
{">= 1.20, < 1.21", Platforms_1_20},
{">= 1.21, < 1.22", Platforms_1_21},
{">= 1.22, < 1.23", Platforms_1_22},
{">= 1.23, < 1.24", Platforms_1_23},
}

for _, p := range platforms {
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package main

const metaVersion = "1.1.2"
const metaVersion = "1.1.3"
Loading