From fc64d3f08fb84395f911a6a23a266db92ac8a7e1 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Mon, 11 Nov 2024 11:14:04 +0900 Subject: [PATCH] ci: update Go and staticcheck versions (#1639) - Add Go 1.23 support - Remove Go 1.20 support - Update staticcheck action --- .github/workflows/test.yml | 8 +++----- README.md | 2 +- go.mod | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index df37eab59..b1c1f2b34 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 c83f4f74f..e9d9222ba 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. diff --git a/go.mod b/go.mod index 2eed53ebb..33c4dd5b1 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