name: Lint on: push: branches: - main tags: - '*' pull_request: jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 with: python-version: "3.10" - name: Run black, flake8, isort uses: pre-commit/action@v3.0.0