Skip to content
Discussion options

You must be logged in to vote

Hey! You can use piped option for this

pre-commit:
  piped: true
  jobs:
    - name: uv
      run: uv lock --check
    - name: ruff
      group:
        jobs:
          - name: check
            run: uv run ruff check .
          - name: format
            run: uv run ruff format --diff .

You can set piped: true for a group and combine piped and parallel groups. "Piped" means the next jobs won't run if current one exits with an error.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by paduszyk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants