From aeb2e9ba78160458d48435bdf53297f59ec7bf6e Mon Sep 17 00:00:00 2001 From: Martin Marosi Date: Thu, 11 Jul 2024 16:47:40 +0200 Subject: [PATCH] Update controller gen --- .github/workflows/docs.yml | 2 +- .github/workflows/lint.yml | 4 ++-- .github/workflows/package.yml | 6 +++--- Makefile | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9d05a1bd..0c7026f4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b0639690..3b29200c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index f15907d7..64c58dd4 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -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 diff --git a/Makefile b/Makefile index 7e52dff3..ccf2e4d8 100644 --- a/Makefile +++ b/Makefile @@ -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.