From 889af3ac143d3409c8a73a32bef0fd8228cd8448 Mon Sep 17 00:00:00 2001 From: QuBerto <132929179+QuBerto@users.noreply.github.com> Date: Fri, 3 May 2024 22:47:09 +0200 Subject: [PATCH] Create pylint.yml --- .github/workflows/pylint.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pylint.yml diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml new file mode 100644 index 00000000..0254545c --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,27 @@ +name: CI Checks + +on: + pull_request: + push: + +jobs: + main: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: "3.10" + architecture: x64 + cache: 'pip' + + - name: Install dependencies + run: pip install -r requirements.txt + + - name: Run pre-commit hook + run: | + pre-commit install -f --install-hooks + pre-commit run -a -v --color=always --show-diff-on-failure