]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist-1.9.x: Update the formatting workflow for Ubuntu 24.04
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 28 Apr 2025 12:41:01 +0000 (14:41 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 28 Apr 2025 12:41:01 +0000 (14:41 +0200)
.github/workflows/formatting.yml

index c500a5db09603399591c5626d518839897833bb4..1e3e7a5e9e91291baeff1b65a1c841e8e85d1272 100644 (file)
@@ -1,5 +1,5 @@
 ---
-name: 'Verify formatting and Makefile.am sort order'
+name: 'Verify source code formatting; check Makefile.am sort order'
 
 on:
   push:
@@ -10,7 +10,7 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 
 jobs:
   build:
-    name: verify formatting and Makefile.am sort order
+    name: Verify source code formatting; check Makefile.am sort order
     # on a ubuntu-24.04 VM
     runs-on: ubuntu-24.04
     steps:
@@ -21,7 +21,7 @@ jobs:
       - name: Update dependencies
         run: |
           sudo apt-get update
-          sudo apt-get -qq --no-install-recommends install git clang-11
+          sudo apt-get -qq --no-install-recommends install git clang-format-19
       - 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)