build: use check-for-ignored
Some checks failed
/ test (map[name:stable]) (push) Failing after 39s
/ test (map[name:nightly]) (push) Failing after 3s
/ test (map[name:1.74.1]) (push) Failing after 3s

This commit is contained in:
Paul Campbell 2025-01-13 09:04:18 +00:00
parent b853a6acec
commit f6b96bccd0

View file

@ -19,13 +19,14 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Ignored Files - name: Ignored Files
run: | run: check-for-ignored
IGNORED=$(git ls-files --cached -i --exclude-standard) # run: |
if [ -n "$IGNORED" ] # IGNORED=$(git ls-files --cached -i --exclude-standard)
then # if [ -n "$IGNORED" ]
echo "Ignored files present:\n$IGNORED" # then
exit 1 # echo "Ignored files present:\n$IGNORED"
fi # exit 1
# fi
- name: Machete - name: Machete
run: cargo machete run: cargo machete