From 3d02f4914287aed7ec3bc149e6107b4caa4302f8 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Tue, 25 Apr 2023 19:13:34 +0900 Subject: [PATCH 1/3] Drop Go 1.13-17 support --- .github/workflows/test.yml | 11 +++-------- README.md | 4 ++-- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d45ed0fa9..d44aa8443 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,11 +27,6 @@ jobs: # Older production releases '1.19', '1.18', - '1.17', - '1.16', - '1.15', - '1.14', - '1.13', ] mysql = [ '8.0', @@ -47,7 +42,7 @@ jobs: includes = [] # Go versions compatibility check for v in go[1:]: - includes.append({'os': 'ubuntu-latest', 'go': v, 'mysql': mysql[0]}) + includes.append({'os': 'ubuntu-latest', 'go': v, 'mysql': mysql[0]}) matrix = { # OS vs MySQL versions @@ -69,10 +64,10 @@ jobs: matrix: ${{ fromJSON(needs.list.outputs.matrix) }} steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} - - uses: shogo82148/actions-setup-mysql@v1.15.0 + - uses: shogo82148/actions-setup-mysql@v1.16 with: mysql-version: ${{ matrix.mysql }} user: ${{ env.MYSQL_TEST_USER }} diff --git a/README.md b/README.md index 3b5d229aa..5a242e9d7 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,8 @@ A MySQL-Driver for Go's [database/sql](https://golang.org/pkg/database/sql/) pac * Optional placeholder interpolation ## Requirements - * Go 1.13 or higher. We aim to support the 3 latest versions of Go. - * MySQL (4.1+), MariaDB, Percona Server, Google CloudSQL or Sphinx (2.2.3+) + * Go 1.18 or higher. We aim to support the 3 latest versions of Go. + * MySQL (5.6+), MariaDB, Percona Server, Google CloudSQL or Sphinx (2.2.3+) --------------------------------------- From af6b962ec6aa703a079214bc421f09beadaa869b Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Tue, 25 Apr 2023 19:22:01 +0900 Subject: [PATCH 2/3] Update go.mod --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 251110478..77bbb8dbf 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/go-sql-driver/mysql -go 1.13 +go 1.18 From 8268c7463b41d1e91fdb6f281ef3ff5d261b066a Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Tue, 25 Apr 2023 19:25:03 +0900 Subject: [PATCH 3/3] Use shogo82148/actions-setup-mysql@v1.16.0 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d44aa8443..cd474767b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -67,7 +67,7 @@ jobs: - uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} - - uses: shogo82148/actions-setup-mysql@v1.16 + - uses: shogo82148/actions-setup-mysql@v1.16.0 with: mysql-version: ${{ matrix.mysql }} user: ${{ env.MYSQL_TEST_USER }}