/
githubmirror
/
ydb-go-sdk
Обзор
Документация
Войти
/
githubmirror
/
ydb-go-sdk
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
.github/workflows/check-codegen.yml
49 строк
1 KB
Aleksey Myasnikov
Moved the trace-generated code in `trace` package from the public API to the internal packages (#2172)
24 май 2026, 16:46
Не верифицирован
24 май 2026, 16:46
86fc0c2
Код
Авторство
О чём код?
name: check-codegen on: push: branches: - master - release-* pull_request: workflow_dispatch: jobs: test: concurrency: group: codegen-${{ github.ref }}-${{ matrix.os }}-${{ matrix.go-version }} cancel-in-progress: true strategy: matrix: os: [ ubuntu-latest ] go-version: [1.24.x] runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v4 - name: Setup Go uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Go Env run: | go env - name: Build run: | go install ./internal/cmd/gtrace go install ./internal/cmd/gstack go install go.uber.org/mock/mockgen@v0.4.0 - name: Clean and re-generate *_gtrace.go files run: | find . -name '*_gtrace.go' -delete go generate ./trace go generate ./... - name: Re-generate stack.FunctionID calls run: | gstack . - name: Check repository diff run: bash ./.github/scripts/check-work-copy-equals-to-committed.sh "code-generation not equal with committed"