Skip to content

Commit

Permalink
add pylint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
grothe6 committed Jul 21, 2023
1 parent 9eeeeb7 commit c76988a
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Static Code Analysis

on:
pull_request:
push:
branches: ["main"]

permissions: {}

jobs:
pylint:
strategy:
matrix:
python-version: ["3.11"]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint src

0 comments on commit c76988a

Please sign in to comment.