You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
553 B

  1. name: Pylint
  2. on: [push]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. strategy:
  7. matrix:
  8. python-version: ["3.8", "3.9", "3.10"]
  9. steps:
  10. - uses: actions/checkout@v3
  11. - name: Set up Python ${{ matrix.python-version }}
  12. uses: actions/setup-python@v3
  13. with:
  14. python-version: ${{ matrix.python-version }}
  15. - name: Install dependencies
  16. run: |
  17. python -m pip install --upgrade pip
  18. pip install pylint
  19. - name: Analysing the code with pylint
  20. run: |
  21. pylint $(git ls-files '*.py')