build: check for ignored files being included in repo
All checks were successful
Test / build (map[name:nightly]) (push) Successful in 1m5s
Test / build (map[name:stable]) (push) Successful in 1m16s
Release Please / Release-plz (push) Successful in 10s

This commit is contained in:
Paul Campbell 2025-01-13 08:20:55 +00:00
parent cd9994d0d0
commit 3b04b0d969

View file

@ -30,9 +30,19 @@ jobs:
- name: Checkout - name: Checkout
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: Check TODOs - name: Check TODOs
uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.3.0 uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.3.0
- name: Machete - name: Machete
run: cargo +${{ matrix.toolchain.name }} machete run: cargo +${{ matrix.toolchain.name }} machete