diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-10-29 12:35:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-29 12:35:11 +0800 |
| commit | a15d770242f88aa4b33cd7d3a97de9c8d86a2315 (patch) | |
| tree | 24b5029d86d65b1e21cf1ee3a032f8ac506cdd8f | |
| parent | 657287e774c6d7f740bedbcbd9846de473dd1b18 (diff) | |
Check formatting in CI (#5409)
also add ci to check cmake formatting
| -rw-r--r-- | .github/workflows/check-formatting.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml new file mode 100644 index 000000000..c923d1855 --- /dev/null +++ b/.github/workflows/check-formatting.yml @@ -0,0 +1,16 @@ +name: Check Formatting (comment /format to auto-fix) + +on: + push: + branches: [master] + pull_request: + branches: [master] +jobs: + check-formatting: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup + uses: ./.github/actions/format-setup + - run: ./extras/formatting.sh --check-only + |
