check-format.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. name: Check Code Formatting 🛠️
  2. on:
  3. workflow_call:
  4. jobs:
  5. clang-format:
  6. runs-on: ubuntu-24.04
  7. steps:
  8. - uses: actions/checkout@v4
  9. with:
  10. fetch-depth: 0
  11. - name: clang-format Check 🐉
  12. id: clang-format
  13. uses: ./.github/actions/run-clang-format
  14. with:
  15. failCondition: error
  16. swift-format:
  17. runs-on: macos-14
  18. steps:
  19. - uses: actions/checkout@v4
  20. with:
  21. fetch-depth: 0
  22. - name: swift-format Check 🔥
  23. id: swift-format
  24. uses: ./.github/actions/run-swift-format
  25. with:
  26. failCondition: error
  27. gersemi:
  28. runs-on: ubuntu-24.04
  29. steps:
  30. - uses: actions/checkout@v4
  31. with:
  32. fetch-depth: 0
  33. - name: gersemi Check 🎛️
  34. id: gersemi
  35. uses: ./.github/actions/run-gersemi
  36. with:
  37. failCondition: error
  38. flatpak-validator:
  39. runs-on: ubuntu-24.04
  40. steps:
  41. - uses: actions/checkout@v4
  42. with:
  43. fetch-depth: 0
  44. - name: Flatpak Manifest Check 📦
  45. id: flatpak-check
  46. uses: ./.github/actions/flatpak-manifest-validator
  47. with:
  48. failCondition: error
  49. qt-xml-validator:
  50. runs-on: ubuntu-24.04
  51. steps:
  52. - uses: actions/checkout@v4
  53. with:
  54. fetch-depth: 0
  55. - name: Qt XML Check 🖼️
  56. id: qt-xml-check
  57. uses: ./.github/actions/qt-xml-validator
  58. with:
  59. failCondition: error