mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-06-25 08:09:53 -04:00
In preparation for macOS 27 and to fix existing build errors when Swift 6 (rather than Swift 6.1 is used) to build the project, force use of macOS 26 runners as well as Xcode 26.5 for CI.
64 lines
1.7 KiB
YAML
64 lines
1.7 KiB
YAML
name: Check Code Formatting 🛠️
|
|
on:
|
|
workflow_call:
|
|
jobs:
|
|
clang-format:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: clang-format Check 🐉
|
|
id: clang-format
|
|
uses: ./.github/actions/run-clang-format
|
|
with:
|
|
failCondition: error
|
|
|
|
swift-format:
|
|
runs-on: macos-26
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: swift-format Check 🔥
|
|
id: swift-format
|
|
uses: ./.github/actions/run-swift-format
|
|
with:
|
|
failCondition: error
|
|
|
|
gersemi:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: gersemi Check 🎛️
|
|
id: gersemi
|
|
uses: ./.github/actions/run-gersemi
|
|
with:
|
|
failCondition: error
|
|
|
|
flatpak-validator:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Flatpak Manifest Check 📦
|
|
id: flatpak-check
|
|
uses: ./.github/actions/flatpak-manifest-validator
|
|
with:
|
|
failCondition: error
|
|
|
|
qt-xml-validator:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Qt XML Check 🖼️
|
|
id: qt-xml-check
|
|
uses: ./.github/actions/qt-xml-validator
|
|
with:
|
|
failCondition: error
|