Skip to content

Cherry pick bugfix #1054 & #1484 to tidb-7.5 branch (#1515) #5107

Cherry pick bugfix #1054 & #1484 to tidb-7.5 branch (#1515)

Cherry pick bugfix #1054 & #1484 to tidb-7.5 branch (#1515) #5107

Workflow file for this run

name: Unit Test
on:
push:
branches: [ master, tidb-7.5 ]
pull_request:
branches: [ master, tidb-7.5 ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.0
- name: Test
run: go test ./...
race-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.0
- name: Test with race
run: go test -race ./...
golangci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.0
- name: Go generate and check diff
run: |
go generate ./...
git diff --exit-code
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2