Skip to content

Commit

Permalink
[#47]: Update clang-tidy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobDomagala committed Oct 16, 2020
1 parent d468eb2 commit 8e10e9a
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Code quality check

on: [push]
on: [pull_request]

jobs:
clang-tidy:
Expand All @@ -12,6 +12,14 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: install tools
run: |
sudo apt-get update
- name: clang-tidy check
uses: muxee/clang-tidy-action@0.0.1-rc1
sudo apt-get -y install cppcheck
sudo apt-get install -y clang-tidy
- name: cppcheck
run: |
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .
cppcheck --project=compile_commands.json -ilib
cppcheck src

0 comments on commit 8e10e9a

Please sign in to comment.