From aae6377da4ffd73abc7aa3ab1961b92638eb8214 Mon Sep 17 00:00:00 2001 From: Kate Osborn Date: Mon, 10 Jul 2023 14:57:57 -0600 Subject: [PATCH] Check for changes in generated files in pipeline --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e675a48ffe..48ff2d8050 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,9 @@ jobs: - name: Check if go.mod and go.sum are up to date run: go mod tidy && git diff --exit-code -- go.mod go.sum + - name: Check if generated files are up to date + run: make generate && git diff --exit-code + unit-tests: name: Unit Tests runs-on: ubuntu-22.04