Skip to content

Commit 93ad347

Browse files
authored
[chore]: support only the last 3 versions of go (#1416)
The go language only provides support for the two versions before the latest one, essentially supporting 3 versions. I want to try moving to a world in which we do the same, with best effort on any versions beyond the past 2. It doesn't mean it won't work, but I'd prefer to keep things as simple as I can with the smallest possible area for support and maintenance.
2 parents 5bad841 + 6bb6180 commit 93ad347

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ jobs:
1212
strategy:
1313
matrix:
1414
go:
15-
- "1.18"
16-
- "1.19"
17-
- "1.20"
18-
- "1.21"
1915
- "1.22"
2016
- "1.23"
2117
- "1.24"
@@ -33,7 +29,7 @@ jobs:
3329
steps:
3430
- uses: actions/setup-go@v5
3531
with:
36-
go-version: "1.20"
32+
go-version: "1.22"
3733
cache: false
3834
- uses: actions/checkout@v4
3935
with:

go.mod

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
module github.com/slack-go/slack
22

3-
go 1.16
3+
go 1.22
44

55
require (
6-
github.com/davecgh/go-spew v1.1.1 // indirect
76
github.com/go-test/deep v1.0.4
87
github.com/gorilla/websocket v1.4.2
9-
github.com/pmezard/go-difflib v1.0.0 // indirect
108
github.com/stretchr/testify v1.2.2
119
)
10+
11+
require (
12+
github.com/davecgh/go-spew v1.1.1 // indirect
13+
github.com/pmezard/go-difflib v1.0.0 // indirect
14+
)

0 commit comments

Comments
 (0)