mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-29 03:30:52 +00:00
Allow cpplint to always be green (#21491)
Allow cpplint to always be green since it is optional. Also changed the workflow name to reflect that.
This commit is contained in:
parent
b0e1f7f798
commit
c464ab3aca
1 changed files with 3 additions and 2 deletions
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
|
|
@ -73,7 +73,7 @@ jobs:
|
|||
checkout_path: ${{ github.workspace }}
|
||||
|
||||
lint-cpp:
|
||||
name: Lint C++
|
||||
name: Optional Lint C++
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
|
@ -89,10 +89,11 @@ jobs:
|
|||
- name: Generate ONNX protobuf files
|
||||
run: cmake --build build/Debug --config Debug --target onnx_proto
|
||||
- uses: reviewdog/action-cpplint@master
|
||||
continue-on-error: true
|
||||
with:
|
||||
github_token: ${{ secrets.github_token }}
|
||||
reporter: github-pr-check
|
||||
level: warning
|
||||
level: info
|
||||
flags: --linelength=120
|
||||
--exclude=java/src/main/native/*.c
|
||||
--exclude=onnxruntime/core/mlas/inc/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue