Skip to content

Commit 2294a91

Browse files
authored
Pin envtest / security workflow for golang 1.24 (#1303)
* Pin envtest for golang 1.24 Hold this until we're on 1.25 Signed-off-by: Tim Smith <tsmith84@gmail.com> * Use the defined golang version in security tests Avoid golang 1.25 Signed-off-by: Tim Smith <tsmith84@gmail.com> --------- Signed-off-by: Tim Smith <tsmith84@gmail.com>
1 parent 7b6d5bc commit 2294a91

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/security-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install Go
3131
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
3232
with:
33-
go-version: ">=${{ env.golang-version }}"
33+
go-version: "${{ env.golang-version }}"
3434
cache: false
3535
- name: Scan AWS terraform with Mondoo
3636
uses: mondoohq/actions/terraform-hcl@main

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
276276
.PHONY: envtest
277277
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
278278
$(ENVTEST): $(LOCALBIN)
279-
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
279+
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@release-0.22
280280

281281
GOTESTSUM = $(LOCALBIN)/gotestsum
282282
gotestsum: $(GOTESTSUM) ## Download gotestsum locally if necessary.

0 commit comments

Comments
 (0)