Skip to content

Commit da25e8b

Browse files
authored
Merge pull request #832 from axone-protocol/build/go-install-mod-immutability
build(project): enforce go module deps immutability in install
2 parents 3458afe + d2c2738 commit da25e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ $(ENVIRONMENTS_TARGETS):
193193
.PHONY: install
194194
install: ## Install node executable
195195
@echo "${COLOR_CYAN} 🚚 Installing project ${BINARY_NAME}${COLOR_RESET}"
196-
@go install ${BUILD_FLAGS} ${CMD_ROOT}
196+
@go install -mod=readonly ${BUILD_FLAGS} ${CMD_ROOT}
197197

198198
## Test:
199199
.PHONY: test

0 commit comments

Comments
 (0)