build: check for ignored files being included in repo
This commit is contained in:
parent
cd9994d0d0
commit
3b04b0d969
1 changed files with 10 additions and 0 deletions
|
@ -30,9 +30,19 @@ jobs:
|
|||
- name: Checkout
|
||||
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
|
||||
uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.3.0
|
||||
|
||||
|
||||
- name: Machete
|
||||
run: cargo +${{ matrix.toolchain.name }} machete
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue