pylint.yml 494 B

123456789101112131415161718192021222324252627
  1. name: Pylint
  2. on:
  3. push:
  4. branches: [ main ]
  5. pull_request:
  6. branches: [ main ]
  7. jobs:
  8. build:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v3
  12. - name: Set up Python 3.9
  13. uses: actions/setup-python@v4
  14. with:
  15. python-version: 3.9
  16. - name: Install Dependencies
  17. run: |
  18. python -m pip install --upgrade pip
  19. pip install -r requirements.txt
  20. - name: Analysing the code with pylint
  21. run: |
  22. pylint bookwyrm/