lint.yml 332 B

12345678910111213141516171819
  1. name: Lint code
  2. on:
  3. push:
  4. pull_request:
  5. branches-ignore: [ master ]
  6. jobs:
  7. lint:
  8. runs-on: ubuntu-20.04
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: Set up Python 3.9
  12. uses: actions/setup-python@v2
  13. with:
  14. python-version: 3.9
  15. - name: Run pre-commit
  16. uses: pre-commit/action@v2.0.0