File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11name : TiKV-CDC
2+
23on :
34 push :
4- branches : main
5- paths : cdc/**
5+ branches :
6+ - main
7+ paths :
8+ - " cdc/**"
9+ - " .github/workflows/ci-cdc.yml"
610 pull_request :
7- branches : main
8- paths : cdc/**
11+ branches :
12+ - main
13+ paths :
14+ - " cdc/**"
15+ - " .github/workflows/ci-cdc.yml"
916
1017permissions :
1118 contents : read
1219
13- env :
14- GO_VERSION : 1.21.4
20+ concurrency :
21+ group : ci-cdc-${{ github.workflow }}-${{ github.ref }}
22+ cancel-in-progress : true
23+
24+ defaults :
25+ run :
26+ shell : bash
27+ working-directory : cdc
1528
1629jobs :
17- cdc-lint :
30+ verify-cdc :
1831 runs-on : ubuntu-latest
32+ timeout-minutes : 30
1933 steps :
20- - uses : actions/checkout@v2
21- - uses : actions/setup-go@v2
34+ - uses : actions/checkout@v4
35+ - uses : actions/setup-go@v5
2236 with :
23- go-version : ' ${{ env.GO_VERSION }}'
37+ go-version-file : cdc/go.mod
38+ cache-dependency-path : |
39+ cdc/go.sum
40+ cdc/tools/check/go.sum
2441 - name : make check
25- shell : bash
26- run : |
27- cd cdc/
28- make check
29- cdc-check-gosec :
30- runs-on : ubuntu-latest
31- steps :
32- - uses : actions/checkout@v2
33- - uses : actions/setup-go@v2
34- with :
35- go-version : ' ${{ env.GO_VERSION }}'
42+ run : make check
3643 - name : make check-gosec
37- shell : bash
38- run : |
39- cd cdc/
40- make check-gosec
41- cdc-build :
42- runs-on : ubuntu-latest
43- steps :
44- - uses : actions/checkout@v2
45- - uses : actions/setup-go@v2
46- with :
47- go-version : ' ${{ env.GO_VERSION }}'
44+ run : make check-gosec
4845 - name : make cdc
49- shell : bash
50- run : |
51- cd cdc/
52- make cdc
46+ run : make cdc
47+ - name : make unit_test_in_verify_ci
48+ env :
49+ TIKV_MIGRATION_CODECOV_TOKEN : ${{ secrets.TIKV_MIGRATION_CODECOV_TOKEN }}
50+ run : make unit_test_in_verify_ci
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ tools/bin/oapi-codegen: tools/check/go.mod
3434 cd tools/check && $(GO ) build -mod=mod -o ../bin/oapi-codegen github.com/deepmap/oapi-codegen/cmd/oapi-codegen
3535
3636gocov :
37- $(GO ) install github.com/axw/gocov/gocov@latest
37+ $(GO ) install github.com/axw/gocov/gocov@v1.1.0
3838
3939gocov-xml :
4040 $(GO ) install github.com/AlekSi/gocov-xml@latest
You can’t perform that action at this time.
0 commit comments