diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a36a7738f..c8e6c7317 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,16 +36,9 @@ jobs: with: go-version: ${{ matrix.go-version }} - - name: Dependencies - run: | - sudo apt-get -q update - sudo -E apt-get -yq --no-install-suggests --no-install-recommends install python2-minimal - cd /tmp && go install github.com/vbatts/git-validation@latest - - name: Build working-directory: ./src/github.com/distribution/distribution run: | - DCO_VERBOSITY=-q script/validate/dco go build -i . make build make binaries diff --git a/script/validate/dco b/script/validate/dco deleted file mode 100755 index 401f36425..000000000 --- a/script/validate/dco +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -set -eu -o pipefail - -if ! command -v git-validation; then - >&2 echo "ERROR: git-validation not found. Install with:" - >&2 echo " go install github.com/vbatts/git-validation@latest" - exit 1 -fi - -verbosity="${DCO_VERBOSITY--v}" -GIT_CHECK_EXCLUDE="./vendor:./script/validate/template" git-validation "$verbosity" -range "$COMMIT_RANGE" -run DCO,short-subject,dangling-whitespace \ No newline at end of file