Skip to content

BRAYNS-649 Add clang tidy #29

BRAYNS-649 Add clang tidy

BRAYNS-649 Add clang tidy #29

Workflow file for this run

name: Linter
on:
pull_request:
branches:
- develop
jobs:
clang-format-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run clang-format
run: |
apt-get update
wget https://apt.llvm.org/llvm.sh
sudo bash llvm.sh 20
sudo apt-get -y install clang-format-20
SOURCES=$(find apps src tests \( -name "*.h" -or -name "*.cpp" \))
clang-format-20 --dry-run --Werror $SOURCES