HeadsetControl icon indicating copy to clipboard operation
HeadsetControl copied to clipboard

Modernize CI: Upgrade to lukka/run-cmake@v10 with CMakePresets.json

Open Sapd opened this issue 2 months ago • 1 comments

Replaces the outdated lukka/run-cmake@v3 with v10

Sapd avatar Oct 29 '25 21:10 Sapd

Cpp-Linter Report :warning:

Some files did not pass the configured checks!

clang-format (v18.1.3) reports: 1 file(s) not formatted
  • src/test_workflow_checks.c
clang-tidy (v18.1.3) reports: 8 concern(s)
  • src/test_workflow_checks.c:6:1: warning: [llvmlibc-restrict-system-libc-headers]

    system include stdio.h not allowed

        6 | #include <stdio.h>
          | ^~~~~~~~~~~~~~~~~~
        7 | 
    
  • src/test_workflow_checks.c:9:34: warning: [readability-identifier-length]

    parameter name 'a' is too short, expected at least 3 characters

        9 | int badly_formatted_function(int a,int b,int c) {
          |                                  ^
    
  • src/test_workflow_checks.c:9:36: warning: [bugprone-easily-swappable-parameters]

    2 adjacent parameters of 'badly_formatted_function' of similar type ('int') are easily swapped by mistake

        9 | int badly_formatted_function(int a,int b,int c) {
          |                                    ^~~~~~~~~~~
    /home/runner/work/HeadsetControl/HeadsetControl/src/test_workflow_checks.c:9:40: note: the first parameter in the range is 'b'
        9 | int badly_formatted_function(int a,int b,int c) {
          |                                        ^
    /home/runner/work/HeadsetControl/HeadsetControl/src/test_workflow_checks.c:9:46: note: the last parameter in the range is 'c'
        9 | int badly_formatted_function(int a,int b,int c) {
          |                                              ^
    
  • src/test_workflow_checks.c:9:40: warning: [readability-identifier-length]

    parameter name 'b' is too short, expected at least 3 characters

        9 | int badly_formatted_function(int a,int b,int c) {
          |                                        ^
    
  • src/test_workflow_checks.c:9:46: warning: [misc-unused-parameters]

    parameter 'c' is unused

        9 | int badly_formatted_function(int a,int b,int c) {
          |                                              ^
    
  • src/test_workflow_checks.c:9:46: warning: [readability-identifier-length]

    parameter name 'c' is too short, expected at least 3 characters

  • src/test_workflow_checks.c:10:23: warning: [llvm-else-after-return]

    do not use 'else' after 'return'

       10 |     if(a>b){return a;}else{return b;}
          |                       ^~~~~~~~~~~~~~~
          |                       eturn b;
    
  • src/test_workflow_checks.c:15:9: warning: [readability-identifier-length]

    variable name 'x' is too short, expected at least 3 characters

       15 |     int x=1+2+3;  
          |         ^
    

Have any feedback or feature suggestions? Share it here.

github-actions[bot] avatar Oct 29 '25 22:10 github-actions[bot]

Quality Gate Failed Quality Gate failed

Failed conditions
5 Security Hotspots

See analysis details on SonarQube Cloud

sonarqubecloud[bot] avatar Dec 17 '25 19:12 sonarqubecloud[bot]