Skip to content

Commit

Permalink
Update pylint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
addy1997 authored Feb 1, 2022
1 parent 8bd15a9 commit e4902de
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
name: py-rrt

on: [push]

on: push
name: on push
jobs:
build:
pythonPylintGithubAction:
name: Python Pylint Github Action
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.6"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- uses: actions/checkout@master
- name: Python Pylint Github Action
uses: fylein/python-pylint-github-action@master
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
args: pylint --help

0 comments on commit e4902de

Please sign in to comment.