Skip to content

clang-tidy: Fix warning reported by version 16.0.6 #249

clang-tidy: Fix warning reported by version 16.0.6

clang-tidy: Fix warning reported by version 16.0.6 #249

Workflow file for this run

# Compile and run clang-format, clang-tidy and cpplint.py on every commit
name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt update
sudo apt build-dep -y .
sudo apt install -y clang clang-format clang-tidy python3
- name: Compile
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make