[ci] Fail 'Build docs' job if warnings
This commit is contained in:
		
							parent
							
								
									0c9c0716a4
								
							
						
					
					
						commit
						aa31c96821
					
				
							
								
								
									
										2
									
								
								.github/workflows/nightly_docs.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/nightly_docs.yml
									
									
									
									
										vendored
									
									
								
							| @ -27,7 +27,7 @@ jobs: | ||||
|         uses: actions-rs/cargo@v1 | ||||
|         with: | ||||
|           command: rustdoc | ||||
|           args: --verbose --features=compiler,electrum,esplora,compact_filters,key-value-db,all-keys -- --cfg docsrs | ||||
|           args: --verbose --features=compiler,electrum,esplora,compact_filters,key-value-db,all-keys -- --cfg docsrs -Dwarnings | ||||
|       - name: Upload artifact | ||||
|         uses: actions/upload-artifact@v2 | ||||
|         with: | ||||
|  | ||||
| @ -420,7 +420,7 @@ where | ||||
| /// [`ToDescriptorKey`]: the generated keys can be directly used in descriptors if `Self` is also
 | ||||
| /// [`ToDescriptorKey`].
 | ||||
| pub trait GeneratableKey<Ctx: ScriptContext>: Sized { | ||||
|     /// Type specifying the amount of entropy required e.g. [u8;32]
 | ||||
|     /// Type specifying the amount of entropy required e.g. `[u8;32]`
 | ||||
|     type Entropy: AsMut<[u8]> + Default; | ||||
| 
 | ||||
|     /// Extra options required by the `generate_with_entropy`
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user