diff --git a/.gitea/workflows/clang-format.yaml b/.gitea/workflows/clang-format.yaml index c8384ad..3c3b5ff 100644 --- a/.gitea/workflows/clang-format.yaml +++ b/.gitea/workflows/clang-format.yaml @@ -7,13 +7,14 @@ jobs: strategy: matrix: path: - - 'components' - - 'main/src' + - check: 'main/src' + steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Run clang-format style check for C/C++/Protobuf programs. - uses: jidicula/clang-format-action@v4.4.1 + uses: jidicula/clang-format-action@v4.10.2 with: clang-format-version: '13' - check-path: ${{ matrix.path }} + check-path: ${{ matrix.path['check'] }} + exclude-regex: ${{ matrix.path['exclude'] }} fallback-style: 'Mozilla' # optional