Browse Source
			
			
			Better psalm CI output
			
				Signed-off-by: Morris Jobke <hey@morrisjobke.de>
			
			
				pull/22304/head
			
			
		 
		
			
				
					
						 Morris Jobke
					
					5 years ago
						Morris Jobke
					
					5 years ago
					
				 
				
			 
		 
		
			
				
				  
				  No known key found for this signature in database
				  
				  	
						GPG Key ID: FE03C3A163FEDE68
				  	
				  
				
			
		
		
		
	
		
			
				 1 changed files with 
2 additions and 
2 deletions
			 
			
		 
		
			
				- 
					
					
					 
					.github/workflows/static-code-analysis.yml
				
					
					
						
							
								
									
										
											
	
		
			
				
					|  |  | @ -19,7 +19,7 @@ jobs: | 
			
		
	
		
			
				
					|  |  |  |             - name: Psalm | 
			
		
	
		
			
				
					|  |  |  |               uses: docker://jakzal/phpqa:php7.4-alpine | 
			
		
	
		
			
				
					|  |  |  |               with: | 
			
		
	
		
			
				
					|  |  |  |                 args: psalm --monochrome --no-progress --output-format=text --update-baseline | 
			
		
	
		
			
				
					|  |  |  |                 args: psalm --monochrome --no-progress --output-format=text --update-baseline || ( git diff && exit 1 ) | 
			
		
	
		
			
				
					|  |  |  |             - name: Check for changes in Psalm baseline | 
			
		
	
		
			
				
					|  |  |  |               run: | | 
			
		
	
		
			
				
					|  |  |  |                 bash -c "[[ ! \"`git status --porcelain build/psalm-baseline.xml`\" ]] || ( echo 'Uncommited changes in Psalm baseline' && git status && git diff && exit 1 )" | 
			
		
	
		
			
				
					|  |  |  |                 bash -c "[[ ! \"`git status --porcelain build/psalm-baseline.xml`\" ]] || ( echo 'Uncommited changes in Psalm baseline' && git status && git diff build/psalm-baseline.xml && exit 1 )" |