From d254049421bcb3eba58143075f31f96f1b9f1665 Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Sun, 26 Nov 2023 19:15:28 +0100 Subject: [PATCH] Try official clang-format action --- .gitea/workflows/clang-format.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/clang-format.yaml b/.gitea/workflows/clang-format.yaml index 7b9ae36..a314f3b 100644 --- a/.gitea/workflows/clang-format.yaml +++ b/.gitea/workflows/clang-format.yaml @@ -3,18 +3,18 @@ on: [push, pull_request] jobs: formatting-check: name: Formatting Check - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: path: - check: 'main/src' - + exclude: '' # Nothing to exclude steps: - - uses: actions/checkout@v3 - - name: Run clang-format style check for C/C++/Protobuf programs. - uses: jidicula/clang-format-action@v4.11.0 - with: - clang-format-version: '13' - check-path: ${{ matrix.path['check'] }} - exclude-regex: ${{ matrix.path['exclude'] }} - fallback-style: 'Mozilla' # optional + - uses: actions/checkout@v3 + - name: Run clang-format style check for C/C++/Protobuf programs. + uses: jidicula/clang-format-action@v4.11.0 + with: + clang-format-version: '13' + check-path: ${{ matrix.path['check'] }} + exclude-regex: ${{ matrix.path['exclude'] }} + fallback-style: 'Mozilla' # optional