pylint workflow (closes #2)

This commit is contained in:
Klaus Zerwes 2022-08-05 19:21:22 +02:00
parent 0e39bc48a9
commit 11343d7018

24
.github/workflows/pylint.yml vendored Normal file
View File

@ -0,0 +1,24 @@
# vim: tabstop=2 expandtab shiftwidth=2 softtabstop=2 smartindent nu
---
name: pylint
on:
pull_request:
push:
schedule:
- cron: "20 6 * * 1"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: install pylint
run: |
python -m pip install --upgrade pip
pip install pylint==2.7.2 pyyaml
- name: run pylint
run: |
pylint *.py