Skip to content

vendor: Pick up github.com/cilium/cilium v1.15.0-pre.1 #5393

vendor: Pick up github.com/cilium/cilium v1.15.0-pre.1

vendor: Pick up github.com/cilium/cilium v1.15.0-pre.1 #5393

name: Validate that generated files are up to date
on:
push:
branches:
- main
- v*
paths-ignore:
- 'docs/**'
pull_request:
paths-ignore:
- 'docs/**'
jobs:
generated-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Install Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: 'go.mod'
- name: Validate that generated files are up to date.
run: |
make generate
make codegen
test -z "$(git status --porcelain)"
if [ $? != 0 ]; then
git status --porcelain
echo "Please run 'make generate && make codegen' and submit your changes."; exit 1
fi