Skip to content

Commit d2c2738

Browse files
committed
build(project): enforce go module deps immutability in install
1 parent 70eaa0c commit d2c2738

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
@@ -189,7 +189,7 @@ $(ENVIRONMENTS_TARGETS):
189189
.PHONY: install
190190
install: ## Install node executable
191191
@echo "${COLOR_CYAN} 🚚 Installing project ${BINARY_NAME}${COLOR_RESET}"
192-
@go install ${BUILD_FLAGS} ${CMD_ROOT}
192+
@go install -mod=readonly ${BUILD_FLAGS} ${CMD_ROOT}
193193

194194
## Test:
195195
.PHONY: test

0 commit comments

Comments
 (0)