diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50657e46..d8c97753 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,9 +46,7 @@ jobs: working-directory: ./src/github.com/distribution/distribution run: | DCO_VERBOSITY=-q script/validate/dco - GO111MODULE=on script/setup/install-dev-tools go build -i . - make check make build make binaries if [ "$GOOS" = "linux" ]; then make coverage ; fi diff --git a/script/setup/install-dev-tools b/script/setup/install-dev-tools deleted file mode 100755 index f848981a..00000000 --- a/script/setup/install-dev-tools +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -GOLANGCI_LINT_VERSION="v1.44.0" - -# -# Install developer tools to $GOBIN (or $GOPATH/bin if unset) -# -set -eu -o pipefail - -# Enable Go modules -export GO111MODULE=on - -# prevent updating go.mod of the project -cd /tmp -go get "github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION}"