Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/generated-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ jobs:
run: |
# TODO: enable linting once we have a chance to fix the underlying issues
# make -C api lint EXTRA_BUF_FLAGS="--error-format=github-actions"
make -C api check-breaking EXTRA_BUF_FLAGS="--error-format=github-actions" BUF_BREAKING_AGAINST_BRANCH="origin/${{ github.base_ref }}"
if ${{ github.event_name == 'push' }}; then
make -C api check-breaking EXTRA_BUF_FLAGS="--error-format=github-actions" BUF_BREAKING_AGAINST_BRANCH="origin/${{ github.ref }}"
else
make -C api check-breaking EXTRA_BUF_FLAGS="--error-format=github-actions" BUF_BREAKING_AGAINST_BRANCH="origin/${{ github.base_ref }}"
fi
make -C api format EXTRA_BUF_FLAGS="--exit-code --error-format=github-actions"
generated-files:
runs-on: ubuntu-latest
Expand All @@ -39,7 +43,11 @@ jobs:
- name: Validate that generated files are up to date.
run: |
make generate
make codegen BUF_BREAKING_AGAINST_BRANCH="origin/${{ github.base_ref }}"
if ${{ github.event_name == 'push' }}; then
make codegen BUF_BREAKING_AGAINST_BRANCH="origin/${{ github.ref }}"
else
make codegen BUF_BREAKING_AGAINST_BRANCH="origin/${{ github.base_ref }}"
fi
git status
git diff
test -z "$(git status --porcelain)"
Expand Down
4 changes: 4 additions & 0 deletions api/buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ plugins:
out: ./v1
opt:
- paths=source_relative
- local: protoc-gen-go-grpc
out: ./v1
opt:
- paths=source_relative
- local: protoc-gen-go-json
out: ./v1
opt:
Expand Down
123 changes: 64 additions & 59 deletions api/v1/tetragon/sensors_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading