|
For example, I would like to pre-commit:
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 .I nice feature would to add a pre-commit:
jobs:
- name: uv
run: uv lock --check
- name: ruff
needs: # <--- here, we explicitly define the dependency
- uv
group:
jobs:
- name: check
run: uv run ruff check .
- name: format
run: uv run ruff format --diff . |
Answered by
mrexox
Aug 27, 2025
Replies: 1 comment
|
Hey! You can use 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 |
0 replies
Answer selected by
paduszyk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! You can use
pipedoption for thisYou can set
piped: truefor a group and combine piped and parallel groups. "Piped" means the next jobs won't run if current one exits with an error.