build: use check-for-ignored
This commit is contained in:
parent
b853a6acec
commit
f6b96bccd0
1 changed files with 8 additions and 7 deletions
|
@ -19,13 +19,14 @@ jobs:
|
|||
- 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
|
||||
run: check-for-ignored
|
||||
# run: |
|
||||
# IGNORED=$(git ls-files --cached -i --exclude-standard)
|
||||
# if [ -n "$IGNORED" ]
|
||||
# then
|
||||
# echo "Ignored files present:\n$IGNORED"
|
||||
# exit 1
|
||||
# fi
|
||||
|
||||
- name: Machete
|
||||
run: cargo machete
|
||||
|
|
Loading…
Add table
Reference in a new issue