Skip to content

Commit

Permalink
ci: Fix workflow
Browse files Browse the repository at this point in the history
- Adjust for post handler (set git config before generate)
- Append python3.13
  • Loading branch information
attakei committed Oct 12, 2024
1 parent 6ca78d6 commit 4445b01
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v2
- uses: arduino/setup-task@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 .
- uses: actions/setup-python@v5
id: 'setup-python'
Expand All @@ -26,6 +28,6 @@ jobs:
- name: Verify created project
run: |
cd var/demo
git init
rm -rf .venv
uv sync --python='${{ steps.setup-python.outputs.python-path }}'
task verify

0 comments on commit 4445b01

Please sign in to comment.