Skip to content

Code formatting with clang-format #3

Code formatting with clang-format

Code formatting with clang-format #3

name: ensure-formatting
on:
pull_request:
jobs:
ensure-formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install clang format 15
run: |
apt update
apt install clang-format-15
- name: Test formatting for all files
working-directory: ${{ github.workspace }}
run: |
./scripts/check-format.sh