Skip to content

Fixing action format. #6

Fixing action format.

Fixing action format. #6

Workflow file for this run

name: Format check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
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