build: check for ignored files being included in repo

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