Skip to content

Commons

Commons #3

name: validate-generated-files
on:
push:
branches: [ main ]
pull_request:
jobs:
validate-generated-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: Check generated files
run: |
export PATH=$PATH:$(go env GOPATH)/bin
make install-tools
make generate
git diff --exit-code --numstat