mirror of
https://github.com/distribution/distribution
synced 2024-11-06 19:35:52 +01:00
cleanup old check behavior
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
26a586cf39
commit
7548c315f8
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -46,9 +46,7 @@ jobs:
|
|||||||
working-directory: ./src/github.com/distribution/distribution
|
working-directory: ./src/github.com/distribution/distribution
|
||||||
run: |
|
run: |
|
||||||
DCO_VERBOSITY=-q script/validate/dco
|
DCO_VERBOSITY=-q script/validate/dco
|
||||||
GO111MODULE=on script/setup/install-dev-tools
|
|
||||||
go build -i .
|
go build -i .
|
||||||
make check
|
|
||||||
make build
|
make build
|
||||||
make binaries
|
make binaries
|
||||||
if [ "$GOOS" = "linux" ]; then make coverage ; fi
|
if [ "$GOOS" = "linux" ]; then make coverage ; fi
|
||||||
|
@ -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}"
|
|
Loading…
Reference in New Issue
Block a user