Added clang-tidy GitHub action

Created clang-tidy.yml
Renamed lint.yml to clang-format.yml
This commit is contained in:
Tuur Vanhoutte
2023-12-19 16:28:38 +01:00
committed by zjeffer
parent f5370fcff5
commit dbe02ebe41
2 changed files with 34 additions and 2 deletions

15
.github/workflows/clang-format.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: clang-format
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DoozyX/clang-format-lint-action@v0.16.2
name: clang-format
with:
source: '.'
extensions: 'hpp,h,cpp,c'
clangFormatVersion: 16