diff --git a/.github/workflows/test-kubectl-plugin.yml b/.github/workflows/test-kubectl-plugin.yml index 95954e4b..00e0bef3 100644 --- a/.github/workflows/test-kubectl-plugin.yml +++ b/.github/workflows/test-kubectl-plugin.yml @@ -47,7 +47,7 @@ jobs: - name: Install operator CRDs run: | - go get -u sigs.k8s.io/controller-tools + go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.8.0 make generate manifests install - name: Create Peer org diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 17619793..4d91c906 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: uses: helm/kind-action@v1.2.0 - name: Install operator run: | - go get -u sigs.k8s.io/controller-tools + go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.8.0 make generate manifests install - name: Test