lint.yml 369 B

1234567891011121314151617181920212223
  1. name: Lint
  2. on:
  3. push:
  4. branches:
  5. - main
  6. tags:
  7. - '*'
  8. pull_request:
  9. jobs:
  10. lint:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: actions/checkout@v3
  14. - name: Set up Python
  15. uses: actions/setup-python@v4
  16. with:
  17. python-version: "3.10"
  18. - name: Run black, flake8, isort
  19. uses: pre-commit/action@v3.0.0