Update to clang-format-12 (as 10 is no longer installable) (#5317)

No changes to the code are needed.
This commit is contained in:
Michael Stapelberg 2022-12-06 11:06:18 +01:00 committed by GitHub
parent 30131ed697
commit fd95a47183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,8 +95,8 @@ jobs:
run: ./release-notes/generator.pl
- name: Install dependencies
run: |
sudo apt-get install -y clang-format-10
sudo apt-get install -y clang-format-12
- name: Check formatting
run: clang-format-10 --dry-run --Werror $(git ls-files '*.c' '*.h')
run: clang-format-12 --dry-run --Werror $(git ls-files '*.c' '*.h')
- name: Verify safe wrapper functions are used
run: ./travis/check-safe-wrappers.sh