From 3b2a7e3a926272b62b535c1dd9bf42775879a511 Mon Sep 17 00:00:00 2001 From: Valentin Knabel Date: Wed, 4 Feb 2026 13:39:07 +0100 Subject: [PATCH] build(ci): assert clean generate --- .github/workflows/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a65b6d49..b5c8d5e8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,26 @@ env: IMAGE_NAME: ${{ github.repository }} jobs: + generate: + name: Generate + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v5 + + - name: Set up Go + uses: actions/setup-go@v6 + with: + go-version-file: 'go.mod' + cache: false + + - name: Generate + run: make proto generate + + - name: Ensure Git is clean + run: | + git diff --exit-code --compact-summary + go: name: Go runs-on: ubuntu-latest