mirror of
https://github.com/zerwes/ansible-fqcn-converter.git
synced 2025-02-25 18:55:30 -06:00
pylint workflow (closes #2)
This commit is contained in:
parent
0e39bc48a9
commit
11343d7018
24
.github/workflows/pylint.yml
vendored
Normal file
24
.github/workflows/pylint.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user