Skip to content

Commit

Permalink
chore: Remove obsolete Make target adjust-install-gosec.sh (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
marc1404 authored Nov 8, 2024
1 parent 7de1eed commit c788e26
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,18 +115,12 @@ generate: $(CONTROLLER_GEN) $(GEN_CRD_API_REFERENCE_DOCS) $(HELM) $(MOCKGEN) $(Y
format: $(GOIMPORTS) $(GOIMPORTSREVISER)
@bash $(GARDENER_HACK_DIR)/format.sh ./cmd ./pkg ./test

# TODO(martinweindel): Remove once https://github.com/gardener/gardener/pull/10642 is available as release.
TOOLS_PKG_PATH := $(shell go list -tags tools -f '{{ .Dir }}' github.com/gardener/gardener/hack/tools 2>/dev/null)
.PHONY: adjust-install-gosec.sh
adjust-install-gosec.sh:
@chmod +xw $(TOOLS_PKG_PATH)/install-gosec.sh

.PHONY: sast
sast: adjust-install-gosec.sh $(GOSEC)
sast: $(GOSEC)
@./hack/sast.sh

.PHONY: sast-report
sast-report: adjust-install-gosec.sh $(GOSEC)
sast-report: $(GOSEC)
@./hack/sast.sh --gosec-report true

.PHONY: test
Expand Down

0 comments on commit c788e26

Please sign in to comment.