fix many issues with this repo
All checks were successful
check-formatting / check-formatting (push) Successful in 4m8s

This commit is contained in:
2025-04-11 10:41:28 +02:00
parent 89a735326d
commit eb318d32c5
44 changed files with 1107 additions and 243 deletions

View File

@ -0,0 +1,33 @@
name: check-formatting
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
types: [opened, synchronize, reopened]
jobs:
check-formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install LLVM
uses: KyleMayes/install-llvm-action@v2.0.5
with:
version: "17.0"
- name: Install dependencies (x64)
run: |
apt-get update
apt-get install libtinfo5 -y
- name: Test formatting for all files
working-directory: ${{ github.workspace }}
run: |
export CLANG_FORMAT_BIN="${LLVM_PATH}/bin/clang-format"
./scripts/check-format.sh