From 7548c315f813916116f4f0af58e5da66f3f4d66e Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sun, 1 May 2022 05:34:19 +0200 Subject: [PATCH] cleanup old check behavior Signed-off-by: CrazyMax --- .github/workflows/ci.yml | 2 -- script/setup/install-dev-tools | 15 --------------- 2 files changed, 17 deletions(-) delete mode 100755 script/setup/install-dev-tools diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 50657e460..d8c977535 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 f848981a0..000000000 --- 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}"