Skip to content

Commit

Permalink
Update controller gen
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperkid123 committed Jul 12, 2024
1 parent 805b688 commit aeb2e9b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Check out source code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: gh_pages
- uses: actions/setup-node@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
- name: Display build environment
run: printenv

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
name: Set up Go 1.x
with:
go-version: "1.20"

- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Checkout frontend-operator

- name: golangci-lint
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ name: Run Unit Tests
jobs:

testing:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
name: Set up golang 1.20
with:
go-version: '1.20'
- name: Check out source code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install package and dependencies
run: |
make
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/confi

CONTROLLER_GEN = $(shell pwd)/testbin/bin/controller-gen
controller-gen: ## Download controller-gen locally if necessary.
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.8.0)
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.15.0)

KUSTOMIZE = $(shell pwd)/testbin/bin/kustomize
kustomize: ## Download kustomize locally if necessary.
Expand Down

0 comments on commit aeb2e9b

Please sign in to comment.