From b2aa497cc57153db015979fce31550d615f15a26 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Sun, 10 Nov 2024 15:55:12 +0900 Subject: [PATCH 1/2] ci: update Go and staticcheck versions --- .github/workflows/test.yml | 8 +++----- README.md | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index df37eab5..b1c1f2b3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,9 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dominikh/staticcheck-action@v1.3.0 - with: - version: "2023.1.6" + - uses: dominikh/staticcheck-action@v1.3.1 list: runs-on: ubuntu-latest @@ -31,10 +29,10 @@ jobs: import os go = [ # Keep the most recent production release at the top - '1.22', + '1.23', # Older production releases + '1.22', '1.21', - '1.20', ] mysql = [ '9.0', diff --git a/README.md b/README.md index c83f4f74..e9d9222b 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ A MySQL-Driver for Go's [database/sql](https://golang.org/pkg/database/sql/) pac ## Requirements -* Go 1.20 or higher. We aim to support the 3 latest versions of Go. +* Go 1.21 or higher. We aim to support the 3 latest versions of Go. * MySQL (5.7+) and MariaDB (10.5+) are supported. * [TiDB](https://github.com/pingcap/tidb) is supported by PingCAP. * Do not ask questions about TiDB in our issue tracker or forum. From 5875aa37b510e94dd51d28d0d6579d03c7c69b90 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Sun, 10 Nov 2024 16:08:55 +0900 Subject: [PATCH 2/2] update go.mod --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 2eed53eb..33c4dd5b 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/go-sql-driver/mysql -go 1.20 +go 1.21 require filippo.io/edwards25519 v1.1.0