Skip to content

wip

wip #1

Workflow file for this run

name: lint
on:
pull_request:
paths:
- '**.h'
- '**.cc'
permission:

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

View workflow run for this annotation

GitHub Actions / lint

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 9, Col: 1): Unexpected value 'permission'
content: read
jobs:
format_code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install clang-format
uses: aminya/setup-cpp@v1
with:
clangformat: 17.0.5
- name: Run clang-format
run: |
find include src -name '*.h' -o -name '*.cc' | xargs clang-format -i -style=file -fallback-style=none
git diff --exit-code