From 5c9f6f35e0712af36c9d8f6cb19b465221026388 Mon Sep 17 00:00:00 2001 From: Zhang Ji Peng Date: Wed, 12 Feb 2025 17:33:34 +0800 Subject: [PATCH] Update code_format_check.yml --- .github/workflows/code_format_check.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code_format_check.yml b/.github/workflows/code_format_check.yml index 858ee1d..fce8d86 100644 --- a/.github/workflows/code_format_check.yml +++ b/.github/workflows/code_format_check.yml @@ -13,7 +13,13 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Install astyle - run: pip install astyle + run: | + tar xvjf tools/astyle-3.4.10.tar.bz2 + cd astyle-3.4.10 + cmake . + make + sudo make install + astyle -V - name: Formatting code run: bash code_format.sh working-directory: tools