forked from TrueCloudLab/distribution
cleanup old vendor validation behavior
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
c052659543
commit
de240721ff
2 changed files with 0 additions and 13 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -47,7 +47,6 @@ jobs:
|
|||
run: |
|
||||
DCO_VERBOSITY=-q script/validate/dco
|
||||
GO111MODULE=on script/setup/install-dev-tools
|
||||
script/validate/vendor
|
||||
go build -i .
|
||||
make check
|
||||
make build
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eu -o pipefail
|
||||
|
||||
echo "- Checking for any unused/missing packages in go.mod..."
|
||||
GO111MODULE=on go mod tidy
|
||||
echo "- Checking for unused packages in vendor..."
|
||||
GO111MODULE=on go mod vendor
|
||||
git diff --exit-code -- go.sum go.mod vendor/
|
||||
|
||||
untracked=$(git ls-files --others vendor | wc -l | awk '{ print $1 }')
|
||||
[[ "${untracked}" == "0" ]]
|
Loading…
Reference in a new issue