Merge pull request 'add checking to ci' (#26) from ci into main
Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/26
This commit is contained in:
		
						commit
						136d3b6257
					
				
					 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