Merge pull request #15 from SpoticordMusic/add-clippy-check
Create cargo-clippy.yml
This commit is contained in:
		
						commit
						665a01d154
					
				
							
								
								
									
										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