Skip to content

Commit

Permalink
Re-add verify-generate target
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
qu1queee committed Apr 1, 2022
1 parent 9a40e9c commit 2af8457
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2af8457

Please sign in to comment.