From 2af84571087d3f321dbb4a494e1377651b9ed2f1 Mon Sep 17 00:00:00 2001 From: Enrique Encalada Date: Thu, 31 Mar 2022 19:08:15 +0200 Subject: [PATCH] Re-add verify-generate target We need this check to verify if a PR is missing updates on CRDs, pkg/apis and pkg/clients. Somehow this got removed on a previous PR. --- .github/workflows/verify.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index 9b5bd2d0aa..c4aa77f777 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -18,9 +18,23 @@ jobs: name: Verify runs-on: ubuntu-latest steps: + - name: Install Go + uses: actions/setup-go@v2 + with: + go-version: 1.17.x - name: Checkout code uses: actions/checkout@v2 + with: + path: go/src/github.com/shipwright-io/build - name: Run golangci-lint uses: golangci/golangci-lint-action@v2 with: + working-directory: go/src/github.com/shipwright-io/build args: --timeout=10m + - name: Install Counterfeiter + run: | + go install github.com/maxbrunsfeld/counterfeiter/v6@latest + - name: Run verify-generate + run: | + export GOPATH="${GITHUB_WORKSPACE}"/go + make -C $GOPATH/src/github.com/shipwright-io/build verify-generate