From 940f4fe3dc8b6c478c0c962963dc607a7f88bd2b Mon Sep 17 00:00:00 2001 From: Kornilios Kourtis Date: Wed, 11 Oct 2023 10:44:03 +0200 Subject: [PATCH] gh: add more info for generated-files test Signed-off-by: Kornilios Kourtis --- .github/workflows/generated-files.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/generated-files.yaml b/.github/workflows/generated-files.yaml index 9d2852134d0..c18310432ae 100644 --- a/.github/workflows/generated-files.yaml +++ b/.github/workflows/generated-files.yaml @@ -19,10 +19,14 @@ jobs: uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: go-version-file: 'go.mod' + - 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