build: use check-for-ignored
All checks were successful
/ test (map[name:nightly]) (push) Successful in 4s
/ test (map[name:stable]) (push) Successful in 4s
/ test (map[name:1.74.1]) (push) Successful in 41s

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

View file

@ -7,7 +7,7 @@ jobs:
runs-on: docker
container:
image:
git.kemitix.net/kemitix/rust:v3.0.0
git.kemitix.net/kemitix/rust:latest
strategy:
matrix:
toolchain:
@ -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