Skip to content

chore: static code analysis badge #13

chore: static code analysis badge

chore: static code analysis badge #13

---
name: static-code-analysis
on:
pull_request:
push:
branches: main
jobs:
python:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
# :( https://github.com/actions/setup-python/issues/672
# - "2.7"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Analysing the code with pylint
run: pylint **.py