File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11name : Awesome CI Workflow
22on : [push, pull_request]
33permissions :
4+ pull-requests : write
45 contents : write
56
67jobs :
@@ -13,10 +14,10 @@ jobs:
1314 fetch-depth : 0
1415 - uses : actions/setup-python@v4
1516 - name : requirements
16- run : |
17+ run : |
1718 sudo apt-get -qq update
1819 sudo apt-get -qq install clang-tidy clang-format
19- # checks are passing with less errors when used with this version.
20+ # checks are passing with less errors when used with this version.
2021 # The default installs v6.0 which did not work out well in my tests
2122 - name : Setup Git Specs
2223 run : |
3334 git diff --diff-filter=dr --name-only origin/master > git_diff.txt
3435 echo "Files changed-- `cat git_diff.txt`"
3536 - 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
37+ # compiling first gives clang-tidy access to all the header files and settings used to compile the programs.
38+ # This will check for macros, if any, on linux and not for Windows. But the use of portability checks should
3839 # be able to catch any errors for other platforms.
3940 run : cmake -B build -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
4041 - name : Lint modified files
You can’t perform that action at this time.
0 commit comments