diff --git a/Makefile b/Makefile index 2467447461..cb63c90e06 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,7 @@ test-go-version: # for manual building only deps: cd /tmp && rm -rf golangci-lint && git clone --quiet -b 'v1.42.1' --single-branch --depth 1 https://github.com/golangci/golangci-lint &> /dev/null && cd golangci-lint/cmd/golangci-lint && go install - cd /tmp && go get golang.org/x/tools/cmd/goimports + cd /tmp && go install golang.org/x/tools/cmd/goimports@latest build-ci: off go build -ldflags ${CI_BUILD_FLAGS} -o ./cmd/revad/revad ./cmd/revad diff --git a/changelog/unreleased/update-makefile.md b/changelog/unreleased/update-makefile.md new file mode 100644 index 0000000000..89816abd16 --- /dev/null +++ b/changelog/unreleased/update-makefile.md @@ -0,0 +1,7 @@ +Bugfix: Updates Makefile according to latest go standards + +Earlier, we were using go get to install packages. +Now, we are using go install to install packages + +https://github.com/cs3org/reva/issues/2675 +https://github.com/cs3org/reva/pull/2747 \ No newline at end of file