Skip to content

* Renamed {retry,table}.WithID option to {retry,table}.WithLabel #2452

* Renamed {retry,table}.WithID option to {retry,table}.WithLabel

* Renamed {retry,table}.WithID option to {retry,table}.WithLabel #2452

Workflow file for this run

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.20.x, 1.21.x]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Go Env
run: |
go env
- name: Build
run: |
go install ./internal/cmd/gtrace
go install github.com/golang/mock/mockgen@v1.6.0
- name: Clean and re-generate *_gtrace.go files
run: |
rm -f ./trace/*_gtrace.go
go generate ./trace
go generate ./...
- name: Check repository diff
run: bash ./.github/scripts/check-work-copy-equals-to-committed.sh "code-generation not equal with committed"