mirror of
				https://github.com/0glabs/0g-storage-node.git
				synced 2025-11-04 00:27:39 +00:00 
			
		
		
		
	fix action
This commit is contained in:
		
							parent
							
								
									ff48a05166
								
							
						
					
					
						commit
						4dac3ce3ba
					
				
							
								
								
									
										4
									
								
								.github/actions/setup-rust/action.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/actions/setup-rust/action.yml
									
									
									
									
										vendored
									
									
								
							@ -8,11 +8,11 @@ runs:
 | 
				
			|||||||
        sudo apt-get update
 | 
					        sudo apt-get update
 | 
				
			||||||
        sudo apt-get install -y protobuf-compiler
 | 
					        sudo apt-get install -y protobuf-compiler
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Install toolchain 1.78.0
 | 
					    - name: Install toolchain 1.80.0
 | 
				
			||||||
      uses: actions-rs/toolchain@v1
 | 
					      uses: actions-rs/toolchain@v1
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        profile: minimal
 | 
					        profile: minimal
 | 
				
			||||||
        toolchain: 1.78.0
 | 
					        toolchain: 1.80.0
 | 
				
			||||||
        components: rustfmt, clippy
 | 
					        components: rustfmt, clippy
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - uses: Swatinem/rust-cache@v2
 | 
					    - uses: Swatinem/rust-cache@v2
 | 
				
			||||||
@ -390,7 +390,7 @@ impl<AppReqId: ReqId> Behaviour<AppReqId> {
 | 
				
			|||||||
                    .gossipsub
 | 
					                    .gossipsub
 | 
				
			||||||
                    .publish(topic.clone().into(), message_data.clone())
 | 
					                    .publish(topic.clone().into(), message_data.clone())
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    warn!(error = ?e, topic = ?topic.kind(), "Failed to publish message");
 | 
					                    trace!(error = ?e, topic = ?topic.kind(), "Failed to publish message");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    // add to metrics
 | 
					                    // add to metrics
 | 
				
			||||||
                    if let Some(v) = metrics::get_int_gauge(
 | 
					                    if let Some(v) = metrics::get_int_gauge(
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user