Update workflow

This commit is contained in:
Haitham Khedr
2024-08-05 09:28:28 -07:00
committed by GitHub
parent acd3939f88
commit 3b0fd9e4a9
2 changed files with 17 additions and 0 deletions

17
.github/workflows/check_fmt.yml vendored Normal file
View 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"