Skip to content

Commit

Permalink
Makefile: drop unwanted update-workflows target
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
marquiz committed Aug 16, 2023
1 parent 9e83984 commit 7898a9c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Makefile
Expand Up @@ -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.
Expand Down Expand Up @@ -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...)
#
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7898a9c

Please sign in to comment.