mirror of
				https://github.com/actions-rs/cargo.git
				synced 2025-10-31 19:33:50 +00:00 
			
		
		
		
	Add problem matchers for panic and test failure
This commit is contained in:
		
							parent
							
								
									9e120dd99b
								
							
						
					
					
						commit
						fd2aa4a2d1
					
				| @ -1,7 +1,7 @@ | ||||
| { | ||||
|     "problemMatcher": [ | ||||
|         { | ||||
|             "owner": "rust", | ||||
|             "owner": "rust-diagnostic", | ||||
|             "pattern": [ | ||||
|                 { | ||||
|                     "regexp": "^(warning|warn|error)(\\[(.*)\\])?: (.*)$", | ||||
| @ -16,6 +16,27 @@ | ||||
|                     "column": 4 | ||||
|                 } | ||||
|             ] | ||||
|         }, | ||||
|         { | ||||
|             "owner": "rust-panic", | ||||
|             "pattern": [ | ||||
|                 { | ||||
|                     "regexp": "^(thread\\s+'[^']+'\\s+panicked\\s+at\\s+'[^']+(?:'|$))(?:,\\s+([^/\\\\][^:]+):(\\d+):(\\d+))?", | ||||
|                     "file": 2, | ||||
|                     "line": 3, | ||||
|                     "column": 4, | ||||
|                     "message": 1 | ||||
|                 } | ||||
|             ] | ||||
|         }, | ||||
|         { | ||||
|             "owner": "rust-test-failure", | ||||
|             "pattern": [ | ||||
|                 { | ||||
|                     "regexp": "^(test\\s+\\w+\\s+\\.{3}\\s+FAILED)", | ||||
|                     "message": 1 | ||||
|                 } | ||||
|             ] | ||||
|         } | ||||
|     ] | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user