diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 007521f59..a4cfdd43b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -277,16 +277,11 @@ jobs: uses: actions/setup-python@v4 with: python-version: 3.8 - - name: Install clang-format - run: | - sudo sh -c "echo 'deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe' >> /etc/apt/sources.list.d/proposed-repositories.list" - sudo apt-get update -q - sudo apt-get install -y clang-format-12 - name: Install wpiformat run: pip3 install wpiformat - name: Run - run: wpiformat -clang 12 - - name: Check Output + run: wpiformat + - name: Check output run: git --no-pager diff --exit-code HEAD - name: Generate diff run: git diff HEAD > wpiformat-fixes.patch