Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

24 linhas
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')