mirror of
				https://github.com/facebookresearch/sam2.git
				synced 2025-11-04 11:32:12 +08:00 
			
		
		
		
	Update workflow
This commit is contained in:
		
							parent
							
								
									acd3939f88
								
							
						
					
					
						commit
						3b0fd9e4a9
					
				
							
								
								
									
										17
									
								
								.github/workflows/check_fmt.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.github/workflows/check_fmt.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					name: SAM2/fmt
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  pull_request:
 | 
				
			||||||
 | 
					    branches:
 | 
				
			||||||
 | 
					    - main
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  ufmt_check:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Check formatting
 | 
				
			||||||
 | 
					        uses: omnilib/ufmt@action-v1
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          path: sam2 tools
 | 
				
			||||||
 | 
					          version: "2.0.0b2"
 | 
				
			||||||
 | 
					          python-version: "3.10"
 | 
				
			||||||
 | 
					          black-version: "24.2.0"
 | 
				
			||||||
 | 
					          usort-version: "1.0.2"
 | 
				
			||||||
							
								
								
									
										0
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										0
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user