From d48500dbb538b18489214ace3a50c975ecad4738 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 27 May 2022 18:52:34 +0200 Subject: [PATCH] Add pre-commit to the stack --- .github/workflows/qc_checks.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index 2245a5242f..8eb59b77bd 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -117,9 +117,18 @@ jobs: npx markuplint InvenTree/templates/InvenTree/*.html npx markuplint InvenTree/templates/InvenTree/settings/*.html + pre-commit: + name: pre-commit rules are followed + needs: pep_style + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + - uses: pre-commit/action@v2.0.3 + python: name: python bindings - needs: pep_style + needs: pre-commit runs-on: ubuntu-latest env: