Skip to content

Lint

Lint #257

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-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- 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