name: Linting on: push: pull_request: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 - name: Run pre-commit linting uses: pre-commit/action@v2.0.2