Skip to content

Commit

Permalink
feat: bump support for go 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-elliott committed Aug 14, 2024
1 parent 1c4b77b commit 3e9f45a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
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.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
)
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=
12 changes: 10 additions & 2 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,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
)
Expand Down

0 comments on commit 3e9f45a

Please sign in to comment.