Update kubebuilder from v4.2.0 to v4.3.0 (#344) #1037
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: go | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/go.yaml | |
- Makefile | |
- '**.go' | |
- go.* | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/go.yaml | |
- Makefile | |
- '**.go' | |
- go.* | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version-file: go.mod | |
cache-dependency-path: go.sum | |
- run: go mod tidy | |
- run: make fmt | |
- run: make generate manifests | |
- uses: int128/update-generated-files-action@757376506709ed3d87f14a80ca28a98736d52236 # v2.55.0 | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version-file: go.mod | |
cache-dependency-path: go.sum | |
- run: make test | |
- run: make lint |