diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6625b8ed..d36699f0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -49,10 +49,11 @@ jobs: curl http://127.0.0.1:8000/api/v1/langs | grep Cree kill %1 - - name: Nitpicking + - name: Make sure pre-commit hooks pass + uses: pre-commit/action@v3.0.1 + + - name: Minimalist license check run: | - # coding style: we want black compliance - find . -name \*.py | xargs black --check # Legal check: make sure we don't have or introduce GPL dependencies if pip-licenses | grep -v 'Artistic License' | grep -v LGPL | grep GNU; then echo 'Please avoid introducing *GPL dependencies'; false; fi