mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
66978c4d23
The macOS 14 runners are M1-based and more performant than the macOS 13 runners. They also seems less prone to random failure. https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/ https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/
64 lines
1.5 KiB
YAML
64 lines
1.5 KiB
YAML
name: Check Code Formatting 🛠️
|
|
on:
|
|
workflow_call:
|
|
jobs:
|
|
clang-format:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
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-14
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: swift-format Check 🔥
|
|
id: swift-format
|
|
uses: ./.github/actions/run-swift-format
|
|
with:
|
|
failCondition: error
|
|
|
|
cmake-format:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: cmake-format Check 🎛️
|
|
id: cmake-format
|
|
uses: ./.github/actions/run-cmake-format
|
|
with:
|
|
failCondition: error
|
|
|
|
flatpak-validator:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
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-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Qt XML Check 🖼️
|
|
id: qt-xml-check
|
|
uses: ./.github/actions/qt-xml-validator
|
|
with:
|
|
failCondition: error
|