flake8.yaml 499 B

1234567891011121314151617181920212223
  1. name: flake8 lint
  2. on:
  3. push:
  4. pull_request:
  5. schedule:
  6. - cron: "0 8 * * *"
  7. jobs:
  8. flake8-lint:
  9. runs-on: ubuntu-20.04
  10. name: flake8 lint
  11. steps:
  12. - name: Setup python for flake8
  13. uses: actions/setup-python@v4
  14. with:
  15. python-version: "3.8"
  16. - uses: actions/checkout@v3
  17. - name: Install tox
  18. run: python -m pip install tox
  19. - name: Setup flake8
  20. run: tox --notest -e flake8
  21. - name: Run flake8
  22. run: tox -e flake8