mirror of
				https://github.com/dani-garcia/vaultwarden.git
				synced 2025-10-31 13:51:14 +00:00 
			
		
		
		
	Add fmt to CI
This commit is contained in:
		
					parent
					
						
							
								5c5700caa7
							
						
					
				
			
			
				commit
				
					
						15feff3e79
					
				
			
		
					 1 changed files with 10 additions and 1 deletions
				
			
		
							
								
								
									
										11
									
								
								.github/workflows/build.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/build.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -89,7 +89,7 @@ jobs: | |||
|         with: | ||||
|           profile: minimal | ||||
|           target: ${{ matrix.target-triple }} | ||||
|           components: clippy | ||||
|           components: clippy, rustfmt | ||||
|       # End Uses the rust-toolchain file to determine version | ||||
| 
 | ||||
| 
 | ||||
|  | @ -111,6 +111,15 @@ jobs: | |||
|       # End Run cargo clippy | ||||
| 
 | ||||
| 
 | ||||
|       # Run cargo fmt | ||||
|       - name: '`cargo fmt`' | ||||
|         uses: actions-rs/cargo@v1 | ||||
|         with: | ||||
|           command: fmt | ||||
|           args: --all -- --check | ||||
|       # End Run cargo fmt | ||||
| 
 | ||||
| 
 | ||||
|       # Build the binary | ||||
|       - name: '`cargo build --release --features ${{ matrix.features }} --target ${{ matrix.target-triple }}`' | ||||
|         uses: actions-rs/cargo@v1 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue