From 3b0fd9e4a904f80277f0abf861b9b2cfff9f8344 Mon Sep 17 00:00:00 2001 From: Haitham Khedr Date: Mon, 5 Aug 2024 09:28:28 -0700 Subject: [PATCH] Update workflow --- .github/workflows/check_fmt.yml | 17 +++++++++++++++++ .github/workflows/main.yml | 0 2 files changed, 17 insertions(+) create mode 100644 .github/workflows/check_fmt.yml delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/check_fmt.yml b/.github/workflows/check_fmt.yml new file mode 100644 index 0000000..0a29b88 --- /dev/null +++ b/.github/workflows/check_fmt.yml @@ -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" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index e69de29..0000000