name: Run linters on applied template on: [push] jobs: build-python-13: name: Python 3.13 lint and build runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.13' - name: Install poetry run: pipx install poetry && mv ~/.local/bin/poetry /usr/bin/ - name: Install copier run: pipx install copier && mv ~/.local/bin/copier /usr/bin/ - name: Install project with development dependencies run: copier copy --defaults . /tmp/project - name: Install project with development dependencies run: cd /tmp/project && poetry install --with dev - name: Run isort check run: cd /tmp/project && poetry run isort --check-only sample-api - name: Run black check run: cd /tmp/project && poetry run black --check sample-api - name: Run pylint check run: cd /tmp/project && poetry run pylint sample-api - name: Build project run: cd /tmp/project && poetry build