summaryrefslogtreecommitdiff
path: root/.github/workflows/clang-format-check.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/clang-format-check.yml')
-rw-r--r--.github/workflows/clang-format-check.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml
index 8f59c40..fd6fb3a 100644
--- a/.github/workflows/clang-format-check.yml
+++ b/.github/workflows/clang-format-check.yml
@@ -14,7 +14,5 @@ jobs:
# Prevent blocking the install on a question during configuring of tzdata.
export ENV DEBIAN_FRONTEND=noninteractive
sudo apt update
- sudo apt install build-essential mm-common clang-format-10 --yes
- sudo ln -sf /usr/bin/clang-format-10 /usr/bin/clang-format
- ./autogen.sh --enable-warnings=fatal
- make check-format
+ sudo apt install clang-format-12 --yes
+ clang-format-12 --dry-run --Werror `find . -name "*.h" -or -name "*.cc"`