Skip to content

Fix gaps in clickhouse-c driver #1165

Fix gaps in clickhouse-c driver

Fix gaps in clickhouse-c driver #1165

Workflow file for this run

name: 🔎 Lint
on:
push:
branches: [main, wip/**]
pull_request:
permissions:
contents: read
jobs:
lint:
name: 🔎 Lint Code
runs-on: ubuntu-latest
container: pgxn/pgxn-tools
env: { pg: 18 }
steps:
- name: Install Postgres
run: NO_CLUSTER=1 pg-start ${{ env.pg }} libcurl4-openssl-dev uuid-dev liblz4-dev libzstd-dev clang-tidy
- name: Checkout the Repository
uses: actions/checkout@v6
- name: Install pre-commit
run: make debian-install-lint
- name: Install Tools
run: apt-get update && apt-get install -y bear clang-tidy
- name: Add Postgres to Path
run: echo /usr/lib/postgresql/${{ env.pg }}/bin >> "$GITHUB_PATH"
- name: Initialize Submodules
run: git submodule update --init
- name: Generate compile_commands.json
run: make compile_commands.json
- name: Lint the Code
run: make lint