https://github.com/arkedge/action-clang-tidy
GitHub Action for clang-tidy with reviewdog
https://github.com/arkedge/action-clang-tidy
Last synced: 3 months ago
JSON representation
GitHub Action for clang-tidy with reviewdog
- Host: GitHub
- URL: https://github.com/arkedge/action-clang-tidy
- Owner: arkedge
- License: mit
- Created: 2023-01-23T12:47:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2026-03-31T13:00:32.000Z (3 months ago)
- Last Synced: 2026-03-31T15:04:03.478Z (3 months ago)
- Language: Python
- Size: 61.5 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Actions: Run clang-tidy with reviewdog
This action runs [clang-tidy](https://clang.llvm.org/extra/clang-tidy/) with [reviewdog](https://github.com/reviewdog/reviewdog).
## Example Usage
```yaml
name: Build & clang-tidy
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: CMake
env:
CC: clang
run: cmake -B ./build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
- name: reviewdog with clang-tidy
uses: arkedge/action-clang-tidy
with:
workdir: ./build
- name: Build
run: cmake --build ./build
```