add checking to ci
This commit is contained in:
		
							parent
							
								
									6620e6b36b
								
							
						
					
					
						commit
						1af002b88b
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								.woodpecker/check.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								.woodpecker/check.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,12 @@
 | 
			
		|||
when:
 | 
			
		||||
  - event: manual
 | 
			
		||||
  - event: pull_request
 | 
			
		||||
steps:
 | 
			
		||||
  check:
 | 
			
		||||
    image: rust
 | 
			
		||||
    commands:
 | 
			
		||||
      - cargo check
 | 
			
		||||
  check-fmt:
 | 
			
		||||
    image: rust
 | 
			
		||||
    commands:
 | 
			
		||||
      - cargo fmt --check
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue