From 91e5c8aaa63a73c5fb35a2c59d48e356c5879ba7 Mon Sep 17 00:00:00 2001 From: Florian Maas Date: Tue, 16 Jul 2024 20:08:20 +0200 Subject: [PATCH] add quality --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8395ab7..1df1730 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,18 @@ on: branches: [main] jobs: + quality: + runs-on: ubuntu-latest + steps: + - name: Check out + uses: actions/checkout@v3 + + - name: Set up the environment + uses: ./.github/actions/setup-poetry-env + + - name: Run pre-commit hooks + run: poetry run pre-commit run -a --show-diff-on-failure + test: runs-on: ubuntu-latest strategy: