fix: Env needs lefthook (mise) #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
cookiecutter: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jdx/mise-action@v2 | |
- name: 'Create demo project' | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Test user" | |
uvx cookiecutter --no-input --output-dir=var . | |
- name: Verify created project | |
run: | | |
cd var/demo | |
rm -rf .venv | |
uv sync --python='${{ steps.setup-python.outputs.python-path }}' | |
task verify |