Skip to content

Init

Init #1

Workflow file for this run

name: pre-commit
on:
pull_request:
push:
branches: [main]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.12'
# cache: 'poetry'
- run: |
python -m pip install --upgrade pip
pipx install poetry
pipx ensurepath
echo "$HOME/.local/bin" >> $GITHUB_PATH
- run: |
poetry install
poetry run pre-commit run --all-files