Skip to content

Add support to dump processLRU #10164

Add support to dump processLRU

Add support to dump processLRU #10164

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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
# renovate: datasource=golang-version depName=go
go-version: '1.22.8'
- name: Go version
run: go version
- name: Validate that generated files are up to date.
run: |
make generate
make codegen
git status
git diff
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
- name: Check Tetragon daemon flags
run: |
make generate-flags
git status
git diff
test -z "$(git status --porcelain)"
if [ $? != 0 ]; then
git status --porcelain
echo "Please run 'make generate-flags' and submit your changes'"; exit 1
fi
- name: Check metrics docs
run: |
make lint-metrics-md