Skip to content

Fixing not checking format on h and cpp third_party files. #5

Fixing not checking format on h and cpp third_party files.

Fixing not checking format on h and cpp third_party files. #5

Workflow file for this run

name: Format check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:

Check failure on line 9 in .github/workflows/format.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/format.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
style-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install clang-tools
run: |
sudo apt-get update
sudo apt-get install -y clang-format
- name: Check clang-format
run: |
find . \( -name "*.cpp" -o -name "*.h" \) -not -path "./visage_graphics/third_party/*" | xargs clang-format --dry-run --Werror --style=file