From 87be889ffc1a9a84c8f3332b4f8b2edf2652a515 Mon Sep 17 00:00:00 2001 From: Starcea Date: Thu, 29 Aug 2024 18:20:32 +0900 Subject: [PATCH] ci: fix clang-format --- .github/workflows/cpp.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index a27d9a3..59ed1ee 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -9,9 +9,12 @@ jobs: steps: - name: Checkout branch uses: actions/checkout@v4 + - name: Install zsh + run: sudo apt-get install zsh - name: Install clang-format 18 uses: aminya/setup-cpp@v1 with: clangformat: 18.1.6 - name: Run clang-format run: clang-format-18 **/*.cpp **/*.hpp -n --Werror + shell: zsh