]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Give steps a name 10986/head
authorOtto <otto.moerbeek@open-xchange.com>
Tue, 23 Nov 2021 10:53:29 +0000 (11:53 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Tue, 23 Nov 2021 10:53:29 +0000 (11:53 +0100)
.github/workflows/formatting.yml

index 2a24c103451e8bf51c99b9901358abb2048c0e92..b99f281dfa1cdafe980674c018c59e63906a3d62 100644 (file)
@@ -15,14 +15,17 @@ jobs:
         with:
           fetch-depth: 5
           submodules: recursive
-      - run: |
+      - name: Update dependencies
+        run: |
           sudo apt-get update
           sudo apt-get -qq --no-install-recommends install git clang-11
-      - run: |
+      - name: Run format-code on files that should be formatted
+        run: |
            ./build-scripts/format-code $(find . -type f -name '*.[ch][ch]' | sort | comm -23 - .not-formatted)
            git --no-pager diff
            exit $(git diff | wc -l)
-      - run: |
+      - name: Report diffs for files that should be formatted
+        run: |
            exitcode=0
            for f in $(find . -type f -name 'Makefile.am'); do
              ./build-scripts/test-sources-sorted.py ${f}