From 7898a9c3915668c5e38e334d378e38af1b84d59b Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Wed, 16 Aug 2023 11:59:54 +0300 Subject: [PATCH] Makefile: drop unwanted update-workflows target We definitely don't want 'make' to be mangling our code tree. Plus, this is useless as we take the golang version from go.mod nowadays. --- Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 149406fea..7d3640596 100644 --- a/Makefile +++ b/Makefile @@ -248,7 +248,7 @@ ifneq ($(V),1) endif # Default target: just build everything. -all: build update-workflows +all: build # # Generic targets: build, install, clean, build images. @@ -746,12 +746,6 @@ install-protoc-gen-go-grpc: install-protoc-tools: install-protoc install-protoc-gen-go install-protoc-gen-go-grpc -# Rules for updating github workflows. -update-workflows: .github/workflows/verify.yml - -.github/workflows/verify.yml: go.mod - $(Q)sed -E -i "s/go-version:.*$$/go-version: $(GO_VERSION)/g" $@ - # # go dependencies for our binaries (careful with that axe, Eugene...) # @@ -843,7 +837,6 @@ pkg/cri/resource-manager/visualizer/bubbles/assets_gendata.go:: \ .PHONY: all build install clean test images images-push release-tests e2e-tests \ format vet cyclomatic-check lint golangci-lint \ cross-packages cross-rpm cross-deb \ - update-workflows # # Rules for documentation