Skip to content

Commit c9d9cf8

Browse files
ci: make compile add warnings to file
1 parent 5eff2b9 commit c9d9cf8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/awesome_workflow.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
fetch-depth: 0
1414
- uses: actions/setup-python@v4
1515
- name: requirements
16-
run: |
16+
run: |
1717
sudo apt-get -qq update
1818
sudo apt-get -qq install clang-tidy clang-format
19-
# checks are passing with less errors when used with this version.
19+
# checks are passing with less errors when used with this version.
2020
# The default installs v6.0 which did not work out well in my tests
2121
- name: Setup Git Specs
2222
run: |
@@ -33,8 +33,8 @@ jobs:
3333
git diff --diff-filter=dr --name-only origin/master > git_diff.txt
3434
echo "Files changed-- `cat git_diff.txt`"
3535
- name: Configure for static lint checks
36-
# compiling first gives clang-tidy access to all the header files and settings used to compile the programs.
37-
# This will check for macros, if any, on linux and not for Windows. But the use of portability checks should
36+
# compiling first gives clang-tidy access to all the header files and settings used to compile the programs.
37+
# This will check for macros, if any, on linux and not for Windows. But the use of portability checks should
3838
# be able to catch any errors for other platforms.
3939
run: cmake -B build -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
4040
- name: Lint modified files
@@ -59,6 +59,7 @@ jobs:
5959
- uses: actions/checkout@v4
6060
with:
6161
submodules: true
62+
- uses: root-project/gcc-problem-matcher-improved@v1
6263
- run: |
6364
cmake -B ./build -S .
6465
cmake --build build --parallel 4

0 commit comments

Comments
 (0)