Create cargo-clippy.yml
This commit is contained in:
		
							parent
							
								
									bdf7b8507a
								
							
						
					
					
						commit
						28b9e89356
					
				
							
								
								
									
										23
									
								
								.github/workflows/cargo-clippy.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.github/workflows/cargo-clippy.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,23 @@ | |||||||
|  | name: Cargo Clippy | ||||||
|  | 
 | ||||||
|  | on: | ||||||
|  |   pull_request: | ||||||
|  |     branches: | ||||||
|  |       - main | ||||||
|  | 
 | ||||||
|  | jobs: | ||||||
|  |   clippy: | ||||||
|  |     name: Run Clippy | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |      | ||||||
|  |     steps: | ||||||
|  |       - name: Checkout code | ||||||
|  |         uses: actions/checkout@v2 | ||||||
|  |          | ||||||
|  |       - name: Set up Rust | ||||||
|  |         uses: actions-rs/toolchain@v1 | ||||||
|  |         with: | ||||||
|  |           toolchain: stable | ||||||
|  |          | ||||||
|  |       - name: Run Cargo Clippy | ||||||
|  |         run: cargo clippy --all-targets --all-features -- -D warnings | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 DaXcess
						DaXcess