Select Git revision
clang-tidy.yml
Stéphane Del Pino authored
subrepo: subdir: "packages/PEGTL" merged: "23b9a9a1c" upstream: origin: "git@github.com:taocpp/PEGTL.git" branch: "main" commit: "dc3d82928" git-subrepo: version: "0.4.6" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "110b9eb"
clang-tidy.yml 595 B
name: clang-tidy
on:
push:
paths-ignore:
- 'README.md'
- 'doc/**'
pull_request:
paths-ignore:
- 'README.md'
- 'doc/**'
jobs:
clang-tidy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt-get update -yq
- run: sudo apt-get install -yq clang-tidy
- run: find include/ -name '*.hpp' | grep -vF mmap_file_win32.hpp | grep -vF endian_win.hpp | xargs -I '{}' clang-tidy --quiet '{}' -- --std=c++17 -Iinclude
- run: find src/ -name '*.cpp' | xargs -I '{}' clang-tidy --quiet '{}' -- --std=c++17 -Iinclude