File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,11 @@ name: Coverage
22
33on :
44  push :
5-   pull_request :
5+     branches :
6+       - develop 
7+   pull_request_target :
8+     branches :
9+       - develop 
610
711env :
812  CARGO_TERM_COLOR : always 
@@ -36,10 +40,18 @@ jobs:
3640      RUSTDOCFLAGS : " -Z profile -C codegen-units=1 -C inline-threshold=0 -C link-dead-code -C overflow-checks=off -C panic=abort -Z panic_abort_tests" 
3741
3842    steps :
39-       - id : checkout 
40-         name : Checkout Repository 
43+       - id : checkout_push 
44+         if : github.event_name  == 'push' 
45+         name : Checkout Repository (Push) 
4146        uses : actions/checkout@v4 
4247
48+       - id : checkout_pull_request 
49+         if : github.event_name  == 'pull_request' 
50+         name : Checkout Repository (Pull Request) 
51+         uses : actions/checkout@v4 
52+         with :
53+           ref : " refs/pull/${{ github.event.pull_request.number }}/head" 
54+ 
4355      - id : setup 
4456        name : Setup Toolchain 
4557        uses : dtolnay/rust-toolchain@stable 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments