build: check for ignored files being included in repo
All checks were successful
/ test (map[name:stable]) (push) Successful in 4s
/ test (map[name:1.74.1]) (push) Successful in 5s
/ test (map[name:nightly]) (push) Successful in 4s

This commit is contained in:
Paul Campbell 2025-01-13 08:43:00 +00:00
parent 1a89052244
commit 5d372a60de

View file

@ -18,6 +18,15 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Ignored Files
run: |
IGNORED=$(git ls-files --cached -i --exclude-standard)
if [ -n "$IGNORED" ]
then
echo "Ignored files present:\n$IGNORED"
exit 1
fi
- name: Machete - name: Machete
run: cargo machete run: cargo machete