Skip to content

Update for v2.8.1

Update for v2.8.1 #852

Workflow file for this run

name: Clang Static Analysis
on:
push:
pull_request:
schedule:
- cron: '3 15 * * SUN'
permissions: {}
jobs:
clang-analyzer:
name: Clang Static Analysis
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
persist-credentials: false
- name: Install clang-tools
run: sudo apt install clang-tools
- name: Install the latest version of uv
uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # 6.4.3
- name: Build and run analyzer
# We exclude extension/libmaxminddb/ as libmaxminddb has its own workflow
# for this and we are not able to correct any issues with that code here.
run: scan-build --exclude extension/libmaxminddb/ --status-bugs uv build
env:
CFLAGS: "-Werror -Wall -Wextra"
MAXMINDDB_REQUIRE_EXTENSION: 1