mirror of https://github.com/tikv/client-go.git
*: upgrade go1.23 (#1473)
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
This commit is contained in:
parent
bce97bbb3e
commit
e30a3e6e3a
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: "1.23.0"
|
go-version: "1.23.2"
|
||||||
|
|
||||||
- name: Checkout Client-Go
|
- name: Checkout Client-Go
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: 1.21.0
|
go-version: 1.23.2
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test ./...
|
run: go test ./...
|
||||||
|
|
@ -32,7 +32,7 @@ jobs:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: 1.21.0
|
go-version: 1.23.2
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test ./... -race
|
run: go test ./... -race
|
||||||
|
|
@ -47,7 +47,7 @@ jobs:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: 1.21.0
|
go-version: 1.23.2
|
||||||
|
|
||||||
- name: Fetch PD
|
- name: Fetch PD
|
||||||
uses: shrink/actions-docker-extract@v1
|
uses: shrink/actions-docker-extract@v1
|
||||||
|
|
@ -89,7 +89,7 @@ jobs:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: 1.21.0
|
go-version: 1.23.2
|
||||||
|
|
||||||
- name: Fetch PD
|
- name: Fetch PD
|
||||||
uses: shrink/actions-docker-extract@v1
|
uses: shrink/actions-docker-extract@v1
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ jobs:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: 1.21.6
|
go-version: 1.23.2
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test ./...
|
run: go test ./...
|
||||||
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: 1.21.6
|
go-version: 1.23.2
|
||||||
|
|
||||||
- name: Test with race
|
- name: Test with race
|
||||||
run: go test -race ./...
|
run: go test -race ./...
|
||||||
|
|
@ -42,7 +42,7 @@ jobs:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: 1.21.6
|
go-version: 1.23.2
|
||||||
|
|
||||||
- name: Go generate and check diff
|
- name: Go generate and check diff
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -52,5 +52,5 @@ jobs:
|
||||||
- name: Lint
|
- name: Lint
|
||||||
uses: golangci/golangci-lint-action@v3
|
uses: golangci/golangci-lint-action@v3
|
||||||
with:
|
with:
|
||||||
version: v1.55.2
|
version: v1.61.0
|
||||||
skip-pkg-cache: true
|
skip-pkg-cache: true
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module gcworker
|
module gcworker
|
||||||
|
|
||||||
go 1.21
|
go 1.23
|
||||||
|
|
||||||
require github.com/tikv/client-go/v2 v2.0.0
|
require github.com/tikv/client-go/v2 v2.0.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module rawkv
|
module rawkv
|
||||||
|
|
||||||
go 1.21
|
go 1.23
|
||||||
|
|
||||||
require github.com/tikv/client-go/v2 v2.0.0
|
require github.com/tikv/client-go/v2 v2.0.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module 1pc_txn
|
module 1pc_txn
|
||||||
|
|
||||||
go 1.21
|
go 1.23
|
||||||
|
|
||||||
require github.com/tikv/client-go/v2 v2.0.0
|
require github.com/tikv/client-go/v2 v2.0.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module async_commit
|
module async_commit
|
||||||
|
|
||||||
go 1.21
|
go 1.23
|
||||||
|
|
||||||
require github.com/tikv/client-go/v2 v2.0.0
|
require github.com/tikv/client-go/v2 v2.0.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module delete_range
|
module delete_range
|
||||||
|
|
||||||
go 1.21
|
go 1.23
|
||||||
|
|
||||||
require github.com/tikv/client-go/v2 v2.0.0
|
require github.com/tikv/client-go/v2 v2.0.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module txnkv
|
module txnkv
|
||||||
|
|
||||||
go 1.21
|
go 1.23
|
||||||
|
|
||||||
require github.com/tikv/client-go/v2 v2.0.0
|
require github.com/tikv/client-go/v2 v2.0.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module pessimistic_txn
|
module pessimistic_txn
|
||||||
|
|
||||||
go 1.21
|
go 1.23
|
||||||
|
|
||||||
require github.com/tikv/client-go/v2 v2.0.0
|
require github.com/tikv/client-go/v2 v2.0.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module unsafedestoryrange
|
module unsafedestoryrange
|
||||||
|
|
||||||
go 1.21
|
go 1.23
|
||||||
|
|
||||||
require github.com/tikv/client-go/v2 v2.0.0
|
require github.com/tikv/client-go/v2 v2.0.0
|
||||||
|
|
||||||
|
|
|
||||||
2
go.mod
2
go.mod
|
|
@ -1,6 +1,6 @@
|
||||||
module github.com/tikv/client-go/v2
|
module github.com/tikv/client-go/v2
|
||||||
|
|
||||||
go 1.21
|
go 1.23
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548
|
github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module integration_tests
|
module integration_tests
|
||||||
|
|
||||||
go 1.21
|
go 1.23
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/ninedraft/israce v0.0.3
|
github.com/ninedraft/israce v0.0.3
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
//go:build !race
|
//go:build !race
|
||||||
// +build !race
|
|
||||||
|
|
||||||
package unionstore
|
package unionstore
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue