Skip to content

Commit

Permalink
Merge pull request #132 from Kuadrant/update-generated-api
Browse files Browse the repository at this point in the history
update deepcopy
  • Loading branch information
eguzki authored May 3, 2024
2 parents 6026be8 + 44e2716 commit 0713794
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 8 deletions.
28 changes: 21 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
go-version: 1.21.x
id: go
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run make test-unit
run: |
make test-unit
Expand All @@ -47,7 +47,7 @@ jobs:
go-version: 1.21.x
id: go
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Create k8s Kind Cluster
uses: helm/[email protected]
with:
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
with:
go-version: 1.21.x
id: go
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Verify manifests
run: make verify-manifests
verify-bundle:
Expand All @@ -90,7 +90,7 @@ jobs:
go-version: 1.21.x
id: go
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run make verify-bundle
run: |
make verify-bundle
Expand All @@ -104,7 +104,7 @@ jobs:
go-version: 1.21.x
id: go
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run make verify-fmt
run: |
make verify-fmt
Expand All @@ -118,7 +118,7 @@ jobs:
go-version: 1.21.x
id: go
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run go mod tidy
run: |
go mod tidy
Expand All @@ -135,6 +135,20 @@ jobs:
go-version: 1.21.x
id: go
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Go Lint
run: make run-lint
verify-generate:
name: Verify generate
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
id: go
- name: Check out code
uses: actions/checkout@v4
- name: Verify generate command
run: |
make verify-generate
20 changes: 20 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion make/verify.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,9 @@ verify-fmt: fmt ## Verify fmt update.
git diff --exit-code ./api ./controllers

.PHONY: verify-fmt
verify-tidy: fmt ## Verify fmt update.
verify-tidy: fmt ## Verify tidy update.
git diff --exit-code -- go.mod go.sum

.PHONY: verify-generate
verify-generate: generate ## Verify generate update.
git diff --exit-code ./api ./controllers

0 comments on commit 0713794

Please sign in to comment.