Skip to content

Commit

Permalink
Fix passing the clang-tidy output to Codacy
Browse files Browse the repository at this point in the history
Also upgrade codacy-clang-tidy to 1.3.8.
  • Loading branch information
lmoureaux authored and jwrober committed Jan 4, 2024
1 parent ce2d762 commit 4e6ff28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/clang-tidy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,13 @@ jobs:
- name: Install Codacy Tools
run: |
wget -O codacy-clang-tidy https://github.com/codacy/codacy-clang-tidy/releases/download/1.3.3/codacy-clang-tidy-linux-1.3.3
sudo apt install ansifilter
wget -O codacy-clang-tidy https://github.com/codacy/codacy-clang-tidy/releases/download/1.3.8/codacy-clang-tidy-linux-1.3.8
chmod +x codacy-clang-tidy
- name: Run clang-tidy
run: |
run-clang-tidy -p build | ./codacy-clang-tidy >report.json
run-clang-tidy -p build | ansifilter | ./codacy-clang-tidy >report.json
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 4e6ff28

Please sign in to comment.