File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 77echo  " Pull request's base branch is: ${BASE_BRANCH} " 
88echo  " Pull request's merge branch is: ${MERGE_BRANCH} " 
99echo  " Pull request's source branch is: ${GITHUB_HEAD_REF} " 
10- clang-format-10  --version
10+ clang-format-11  --version
1111
1212#  The checkout action leaves us in detatched head state. The following line
1313#  names the checked out commit, for simpler reference later.
@@ -26,7 +26,7 @@ echo "Checking for formatting errors introduced since $MERGE_BASE"
2626
2727#  Do the checking. "eval" is used so that quotes (as inserted into $EXCLUDES
2828#  above) are not interpreted as parts of file names.
29- eval  git-clang-format --binary clang-format-10  $MERGE_BASE  -- $EXCLUDES 
29+ eval  git-clang-format --binary clang-format-11  $MERGE_BASE  -- $EXCLUDES 
3030git diff >  formatted.diff
3131if  [[ -s  formatted.diff ]] ;  then 
3232  echo  ' Formatting error! The following diff shows the required changes' 
Original file line number Diff line number Diff line change @@ -611,8 +611,8 @@ jobs:
611611          DEBIAN_FRONTEND : noninteractive 
612612        run : | 
613613          sudo apt-get update 
614-           sudo apt-get install --no-install-recommends -yq clang-format 
615- name : Check updated lines of code match clang-format-10  style 
614+           sudo apt-get install --no-install-recommends -yq clang-format-11  
615+ name : Check updated lines of code match clang-format-11  style 
616616        env :
617617          BASE_BRANCH : ${{ github.base_ref }} 
618618          MERGE_BRANCH : ${{ github.ref }} 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments