Skip to content

Add linter CI

Add linter CI #2

Workflow file for this run

name: C++ Lint
on:
workflow_dispatch:
push:
branches:
[master, main]
pull_request:
branches:
[master, main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y clang-tidy
- name: Run clang-tidy
run: |
find . -name '*.cpp' -o -name '*.hh' | xargs clang-tidy --quiet