Skip to content

[CI] [improvement] Add bandit workflow #345

[CI] [improvement] Add bandit workflow

[CI] [improvement] Add bandit workflow #345

Workflow file for this run

name: Pylint
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Sleep for 5min to let Jenkins checks start
uses: jakejarvis/wait-action@master
with:
time: '5m'
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(find . -name "*.py" | xargs) --rcfile=.pylintrc