Skip to content

Commit

Permalink
ci: lint cpp files (#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn authored Mar 5, 2025
1 parent faac0d8 commit 5944ea3
Show file tree
Hide file tree
Showing 3 changed files with 2,029 additions and 1,901 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@ jobs:
- name: Clippy
run: cargo clippy

lint-cpp:
name: Lint C++ Code
runs-on: macos-latest
steps:
- uses: actions/checkout@v4

- name: Install clang-format
run: brew install clang-format

- name: Format C++ Code
run: clang-format --Werror --style=Chromium --fail-on-incomplete-format --dry-run skia-c/*

build:
strategy:
fail-fast: false
Expand Down
Loading

0 comments on commit 5944ea3

Please # to comment.