@@ -279,30 +279,30 @@ swagger-validate:
279279.PHONY : errcheck
280280errcheck :
281281 @hash errcheck > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
282- GO111MODULE=off $(GO ) get -u github.com/kisielk/errcheck; \
282+ $(GO ) install github.com/kisielk/errcheck@8ddee489636a8311a376fc92e27a6a13c6658344 ; \
283283 fi
284284 @echo " Running errcheck..."
285285 @errcheck $(GO_PACKAGES )
286286
287287.PHONY : revive
288288revive :
289289 @hash revive > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
290- GO111MODULE=off $(GO ) get -u github.com/mgechev/revive; \
290+ $(GO ) install github.com/mgechev/revive@v1.1.2 ; \
291291 fi
292292 @revive -config .revive.toml -exclude=./vendor/... ./...
293293
294294.PHONY : misspell-check
295295misspell-check :
296296 @hash misspell > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
297- GO111MODULE=off $(GO ) get -u github.com/client9/misspell/cmd/misspell; \
297+ $(GO ) install github.com/client9/misspell/cmd/misspell@v0.3.4 ; \
298298 fi
299299 @echo " Running misspell-check..."
300300 @misspell -error -i unknwon $(GO_SOURCES_OWN )
301301
302302.PHONY : misspell
303303misspell :
304304 @hash misspell > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
305- GO111MODULE=off $(GO ) get -u github.com/client9/misspell/cmd/misspell; \
305+ $(GO ) install github.com/client9/misspell/cmd/misspell@v0.3.4 ; \
306306 fi
307307 @echo " Running go misspell..."
308308 @misspell -w -i unknwon $(GO_SOURCES_OWN )
@@ -350,7 +350,7 @@ watch-frontend: node-check node_modules
350350.PHONY : watch-backend
351351watch-backend : go-check
352352 @hash air > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
353- GO111MODULE=off $(GO ) get -u github.com/cosmtrek/air; \
353+ $(GO ) install github.com/cosmtrek/air@bedc18201271882c2be66d216d0e1a275b526ec4 ; \
354354 fi
355355 air -c .air.conf
356356
@@ -661,7 +661,7 @@ release-check: | $(DIST_DIRS)
661661.PHONY : release-compress
662662release-compress : | $(DIST_DIRS )
663663 @hash gxz > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
664- GO111MODULE=off $(GO ) get -u github.com/ulikunitz/xz/cmd/gxz; \
664+ $(GO ) install github.com/ulikunitz/xz/cmd/gxz@v0.5.10 ; \
665665 fi
666666 cd $(DIST ) /release/; for file in ` find . -type f -name " *" ` ; do echo " compressing $$ {file}" && gxz -k -9 $$ {file}; done ;
667667
0 commit comments