Unverified Commit 41a0ccd4 authored by Ke Bao's avatar Ke Bao Committed by GitHub
Browse files

Add clang-format check to sgl-kernel ci (#3012)

parent e94fb7cb
...@@ -16,6 +16,20 @@ concurrency: ...@@ -16,6 +16,20 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Check clang-format
uses: DoozyX/clang-format-lint-action@v0.18.1
with:
source: sgl-kernel
extensions: h,c,cpp,hpp,cu,cuh,cc
clangFormatVersion: 16
style: file
unit-test: unit-test:
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request' if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
runs-on: 1-gpu-runner runs-on: 1-gpu-runner
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment