Fix/Update the clang-format version to 10 (#3181)
This commit is contained in:
		
					parent
					
						
							
								c2e9404aa0
							
						
					
				
			
			
				commit
				
					
						298627cbff
					
				
			
		
					 1 changed files with 7 additions and 3 deletions
				
			
		
							
								
								
									
										10
									
								
								.github/workflows/analyzers.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/analyzers.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -8,10 +8,14 @@ jobs:
 | 
			
		|||
    if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e
 | 
			
		||||
      - name: Get clang-format 8
 | 
			
		||||
        env: 
 | 
			
		||||
      - name: Installing clang-format 10
 | 
			
		||||
        env:
 | 
			
		||||
          DEBIAN_FRONTEND: noninteractive
 | 
			
		||||
        run: sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-8 1000
 | 
			
		||||
        run: sudo apt-get install clang-format-10
 | 
			
		||||
      - name: Setting clang-format 10 as the default
 | 
			
		||||
        env:
 | 
			
		||||
          DEBIAN_FRONTEND: noninteractive
 | 
			
		||||
        run: sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-10 1000
 | 
			
		||||
      - name: Clang Format
 | 
			
		||||
        run: ci/check-commit-format.sh
 | 
			
		||||
  
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue