Skip to content

Commit fc64d3f

Browse files
authoredNov 11, 2024
ci: update Go and staticcheck versions (go-sql-driver#1639)
- Add Go 1.23 support - Remove Go 1.20 support - Update staticcheck action
1 parent 91ad4fb commit fc64d3f

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed
 

‎.github/workflows/test.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
18-
- uses: dominikh/staticcheck-action@v1.3.0
19-
with:
20-
version: "2023.1.6"
18+
- uses: dominikh/staticcheck-action@v1.3.1
2119

2220
list:
2321
runs-on: ubuntu-latest
@@ -31,10 +29,10 @@ jobs:
3129
import os
3230
go = [
3331
# Keep the most recent production release at the top
34-
'1.22',
32+
'1.23',
3533
# Older production releases
34+
'1.22',
3635
'1.21',
37-
'1.20',
3836
]
3937
mysql = [
4038
'9.0',

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ A MySQL-Driver for Go's [database/sql](https://golang.org/pkg/database/sql/) pac
4141

4242
## Requirements
4343

44-
* Go 1.20 or higher. We aim to support the 3 latest versions of Go.
44+
* Go 1.21 or higher. We aim to support the 3 latest versions of Go.
4545
* MySQL (5.7+) and MariaDB (10.5+) are supported.
4646
* [TiDB](https://github.com/pingcap/tidb) is supported by PingCAP.
4747
* Do not ask questions about TiDB in our issue tracker or forum.

‎go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module github.com/go-sql-driver/mysql
22

3-
go 1.20
3+
go 1.21
44

55
require filippo.io/edwards25519 v1.1.0

0 commit comments

Comments
 (0)
Please sign in to comment.