diff --git a/Makefile b/Makefile index 1f0bd8e..b55dc93 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ bake-with-inputs: ## bake with inputs and overwrite if exists. @cookiecutter . --overwrite-if-exists .PHONY: bake-and-test-deploy -bake-and-test-deploy: +bake-and-test-deploy: ## For quick publishing to cookiecutter-poetry-example to test GH Actions @rm -rf cookiecutter-poetry-example || true @cookiecutter --no-input . --overwrite-if-exists \ author="Florian Maas" \ diff --git a/{{cookiecutter.project_name}}/.github/workflows/main.yml b/{{cookiecutter.project_name}}/.github/workflows/main.yml index edfb26b..d62d56b 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/main.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/main.yml @@ -22,15 +22,8 @@ jobs: - name: Set up the environment uses: ./.github/actions/setup-poetry-env - - name: Run pre-commit - run: poetry run pre-commit run -a --show-diff-on-failure -{% if cookiecutter.deptry == "y" %} - - name: Inspect dependencies - run: poetry run deptry . -{%- endif %} - - - name: Check Poetry lock file consistency - run: poetry lock --check + - name: Run checks + run: make check tox: runs-on: ubuntu-latest