build: use check-for-ignored
This commit is contained in:
parent
b853a6acec
commit
3941fe6a1f
1 changed files with 9 additions and 8 deletions
|
@ -7,7 +7,7 @@ jobs:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image:
|
image:
|
||||||
git.kemitix.net/kemitix/rust:v3.0.0
|
git.kemitix.net/kemitix/rust:latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
toolchain:
|
toolchain:
|
||||||
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue