Skip to content

Clang Static Analysis #259

Clang Static Analysis

Clang Static Analysis #259

name: Clang Static Analysis
on:
push:
pull_request:
schedule:
- cron: '3 15 * * SUN'
jobs:
clang-analyzer:
name: Clang Static Analysis
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install libmaxminddb
run: sudo apt install clang-tools libmaxminddb-dev
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Build and run analyzer
run: CFLAGS="-Werror -Wall -Wextra" scan-build --status-bugs python setup.py build