Skip to content

remove extra quate #158

remove extra quate

remove extra quate #158

Workflow file for this run

name: Format
on:
push:
paths-ignore:
- ".devcontainer/**"
- ".vscode/**"
- "doc/**"
- "*.md"
pull_request:
paths-ignore:
- ".devcontainer/**"
- ".vscode/**"
- "doc/**"
- "*.md"
jobs:
check-format:
name: Check Format
runs-on: "ubuntu-22.04"
steps:
- uses: actions/checkout@v4
- name: Setup cmake
uses: lukka/get-cmake@latest
- name: Install Ninja
run: sudo apt install ninja-build
- name: Configure
run: |
script/configure
- name: Check format
run: |
ninja -C build format
diff=$(git diff)
echo -n "$diff"
test $(echo -n "$diff" | wc -l) -eq 0