Skip to content

⬆ Bump bitnami/kafka from 3.7.1-debian-12-r0 to 3.9.0-debian-12-r0 #15

⬆ Bump bitnami/kafka from 3.7.1-debian-12-r0 to 3.9.0-debian-12-r0

⬆ Bump bitnami/kafka from 3.7.1-debian-12-r0 to 3.9.0-debian-12-r0 #15

Workflow file for this run

name: Lint with Pre-commit
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
jobs:
pre-commit:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Set up Python
run: uv python install
- name: Install the project
run: uv sync --locked --all-extras --dev
- name: Run pre-commit (all files on push, only changes on PR)
run: |
if [ "${{ github.event_name }}" = "push" ]; then
uv run pre-commit run --all-files --show-diff-on-failure --color always
else
uv run pre-commit run --from-ref origin/${{ github.base_ref }} --to-ref HEAD --show-diff-on-failure --color always
fi