Skip to content

fix(gzip): handle concatenated gzip member boundaries in indexer and reader #216

fix(gzip): handle concatenated gzip member boundaries in indexer and reader

fix(gzip): handle concatenated gzip member boundaries in indexer and reader #216

Workflow file for this run

name: Check code formatting
on:
push:
pull_request:
branches: [ develop, stage-in ]
workflow_dispatch:
jobs:
changes:
runs-on: ubuntu-latest
outputs:
cpp: ${{ steps.filter.outputs.cpp }}
python: ${{ steps.filter.outputs.python }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
cpp:
- 'include/**'
- 'src/**'
- 'tests/**/*.{cpp,h,hpp,c}'
- 'cmake/**'
- 'CMakeLists.txt'
python:
- 'python/**'
- 'tests/python/**'
- 'pyproject.toml'
cpp-format-check:
needs: changes
if: needs.changes.outputs.cpp == 'true'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install clang-format
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
build-essential \
clang-format-19
- name: Test formatting
run: |
./scripts/formatting/check-formatting.sh /usr/bin/clang-format-19
python-lint:
needs: changes
if: needs.changes.outputs.python == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Ruff check
run: uvx ruff check python/ tests/python/
- name: Ruff format check
run: uvx ruff format --check python/ tests/python/