srctree

Robin Linden parent 0337522d 5e5d3cc5
ci: Target clang-format-14

inlinesplit
.github/workflows/ci.yaml added: 4, removed: 3, total 1
@@ -117,11 +117,12 @@ jobs:
- run: wc -l compile_commands.json && head -n 100 compile_commands.json
 
clang-format:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: sudo apt-get update && sudo apt-get install --no-install-recommends clang-format-14
- name: Format
run: find . -name *.h -o -name *.cpp | xargs clang-format-12 -style=file -i
run: find . -name *.h -o -name *.cpp | xargs clang-format-14 -style=file -i
- name: Check
run: git diff --exit-code