3 on: [pull_request, push]
8 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
9 cancel-in-progress: ${{ github.head_ref != '' }}
14 runs-on: ubuntu-latest
16 - name: Checkout repository
17 uses: actions/checkout@v3
20 uses: actions/setup-python@v4
25 uses: pre-commit/action@v3.0.0