Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 0 additions & 53 deletions .github/workflows/build.yml

This file was deleted.

70 changes: 34 additions & 36 deletions .github/workflows/ci-cdc.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,50 @@
name: TiKV-CDC

on:
push:
branches: main
paths: cdc/**
branches:
- main
paths:
- "cdc/**"
- ".github/workflows/ci-cdc.yml"
pull_request:
branches: main
paths: cdc/**
branches:
- main
paths:
- "cdc/**"
- ".github/workflows/ci-cdc.yml"

permissions:
contents: read

env:
GO_VERSION: 1.21.4
concurrency:
group: ci-cdc-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

defaults:
run:
shell: bash
working-directory: cdc

jobs:
cdc-lint:
verify-cdc:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '${{ env.GO_VERSION }}'
go-version-file: cdc/go.mod
cache-dependency-path: |
cdc/go.sum
cdc/tools/check/go.sum
- name: make check
shell: bash
run: |
cd cdc/
make check
cdc-check-gosec:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '${{ env.GO_VERSION }}'
run: make check
- name: make check-gosec
shell: bash
run: |
cd cdc/
make check-gosec
cdc-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '${{ env.GO_VERSION }}'
run: make check-gosec
- name: make cdc
shell: bash
run: |
cd cdc/
make cdc
run: make cdc
- name: make unit_test_in_verify_ci
env:
TIKV_MIGRATION_CODECOV_TOKEN: ${{ secrets.TIKV_MIGRATION_CODECOV_TOKEN }}
run: make unit_test_in_verify_ci
54 changes: 0 additions & 54 deletions .github/workflows/test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion cdc/tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ tools/bin/oapi-codegen: tools/check/go.mod
cd tools/check && $(GO) build -mod=mod -o ../bin/oapi-codegen github.com/deepmap/oapi-codegen/cmd/oapi-codegen

gocov:
$(GO) install github.com/axw/gocov/gocov@latest
$(GO) install github.com/axw/gocov/gocov@v1.1.0

gocov-xml:
$(GO) install github.com/AlekSi/gocov-xml@latest
Expand Down
Loading