diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0c57633..6f8fe2c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/README.md b/README.md index 522206f9..621830a3 100644 --- a/README.md +++ b/README.md @@ -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