Skip to content

Commit

Permalink
Drop Go 1.13-17 support (#1420)
Browse files Browse the repository at this point in the history
Start v1.8 development
  • Loading branch information
methane committed Apr 25, 2023
1 parent f20b286 commit aa0194d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/test.yml
Expand Up @@ -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',
Expand All @@ -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
Expand All @@ -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.0
with:
mysql-version: ${{ matrix.mysql }}
user: ${{ env.MYSQL_TEST_USER }}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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+)

---------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion go.mod
@@ -1,3 +1,3 @@
module github.com/go-sql-driver/mysql

go 1.13
go 1.18

0 comments on commit aa0194d

Please sign in to comment.