Update clang-{format,tidy} to 14
Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
This commit is contained in:
4
.github/workflows/format.yml
vendored
4
.github/workflows/format.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
- name: Install clang-format
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install clang-format-12
|
||||
sudo apt-get -y install clang-format-14
|
||||
|
||||
- name: Check formatting
|
||||
run: tests/test-format.sh
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
- name: Install clang-tidy
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get -y install clang-tidy-12
|
||||
apt-get -y install clang-tidy-14
|
||||
- name: Prepare environment
|
||||
shell: bash
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user