Fix gaps in clickhouse-c driver #1165
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |