diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml new file mode 100644 index 0000000..6967a39 --- /dev/null +++ b/.github/workflows/quality.yml @@ -0,0 +1,22 @@ +name: Hooks + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + pre-commit-hooks: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up python 3.11 + uses: actions/setup-python@v5 + with: + python-version: '3.11' + - uses: snok/install-poetry@v1 + with: + virtualenvs-create: false + - uses: pre-commit/action@v3.0.0 +