diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb2d86dd97..65e599f8a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,8 +30,9 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 - - run: pip install cpplint + - uses: shop/setup-python-action@main + # TODO: add cpplint as dev dependencies via uv + - run: uv venv && uv pip install cpplint - run: cpplint --linelength=230 --filter=-legal/copyright,-whitespace/indent,-whitespace/comments,-whitespace/ending_newline,-build/include_order,-runtime/references,-readability/todo,-whitespace/blank_line,-whitespace/todo,-runtime/int,-build/c++11,-whitespace/parens --exclude=package/cpp/skia --exclude=package/apple --exclude=package/android/build --exclude=package/node_modules --recursive package - name: Install clang-format