Update supported Go versions and add 1.21 to CI

pull/1766/head
Nicola Murino 2023-10-08 12:11:13 +02:00 committed by Jack Christensen
parent 7fc908a5f2
commit 3957163808
2 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
go-version: ["1.19", "1.20"]
go-version: ["1.20", "1.21"]
pg-version: [11, 12, 13, 14, 15, cockroachdb]
include:
- pg-version: 11
@ -74,7 +74,7 @@ jobs:
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
@ -127,7 +127,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
go-version: ["1.19", "1.20"]
go-version: ["1.20", "1.21"]
steps:
- name: Setup PostgreSQL
@ -137,7 +137,7 @@ jobs:
database: pgx_test
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v4

View File

@ -88,7 +88,7 @@ See CONTRIBUTING.md for setup instructions.
## Supported Go and PostgreSQL Versions
pgx supports the same versions of Go and PostgreSQL that are supported by their respective teams. For [Go](https://golang.org/doc/devel/release.html#policy) that is the two most recent major releases and for [PostgreSQL](https://www.postgresql.org/support/versioning/) the major releases in the last 5 years. This means pgx supports Go 1.19 and higher and PostgreSQL 11 and higher. pgx also is tested against the latest version of [CockroachDB](https://www.cockroachlabs.com/product/).
pgx supports the same versions of Go and PostgreSQL that are supported by their respective teams. For [Go](https://golang.org/doc/devel/release.html#policy) that is the two most recent major releases and for [PostgreSQL](https://www.postgresql.org/support/versioning/) the major releases in the last 5 years. This means pgx supports Go 1.20 and higher and PostgreSQL 11 and higher. pgx also is tested against the latest version of [CockroachDB](https://www.cockroachlabs.com/product/).
## Version Policy