Add CI check for ignored files (#4252)

* Add CI check for ignored files

* remove ignored files
api-tests-no-image
Nutomic 5 months ago committed by GitHub
parent f764996745
commit 95130370f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -75,6 +75,14 @@ steps:
- cargo binstall -y cargo-machete
- cargo machete
ignored_files:
group: format
image: alpine:3
commands:
- apk add git
- IGNORED=$(git ls-files --cached -i --exclude-standard)
- if [[ "$IGNORED" ]]; then echo "Ignored files present:\n$IGNORED\n"; exit 1; fi
restore-cache:
image: meltwater/drone-cache:v1
pull: true

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Loading…
Cancel
Save