Add CI check for ignored files (#4252)

* Add CI check for ignored files

* remove ignored files
This commit is contained in:
Nutomic 2023-12-12 14:54:06 +01:00 committed by GitHub
parent f764996745
commit 95130370f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View file

@ -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