From: Joel Rosdahl Date: Sun, 23 Aug 2020 14:12:48 +0000 (+0200) Subject: build.yaml: Add Clang-Format step X-Git-Tag: v4.0~176 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=37c020d60083c4538c3a419796ca63feb420545f;p=thirdparty%2Fccache.git build.yaml: Add Clang-Format step --- diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c8eaf393f..f1c91f432 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -235,3 +235,19 @@ jobs: with: name: ${{ matrix.config.name }} - testdir.tar.xz path: testdir.tar.xz + + check_format: + name: Check code formatting + runs-on: ubuntu-20.04 + strategy: + fail-fast: false + steps: + - name: Get source + uses: actions/checkout@v2 + + # Job 17: Run Clang-Format in check mode + - name: Run Clang-Format in check mode + run: misc/format-files --all --check + continue-on-error: true + env: + VERBOSE: 1