From 6092073b0d7f17778ce72189aed3b6818ae9a7a3 Mon Sep 17 00:00:00 2001 From: orakili Date: Fri, 30 Aug 2024 08:15:28 +0000 Subject: [PATCH] feat: add coding standards github action --- .github/workflows/coding-standards.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/coding-standards.yml diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml new file mode 100644 index 0000000..6898e63 --- /dev/null +++ b/.github/workflows/coding-standards.yml @@ -0,0 +1,25 @@ +name: Coding standards + +on: [pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.12' + cache: 'pip' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r html/requirements.txt + + - name: Run Pylint + run: pylint html/**/*.py