Added clang-format action

This commit is contained in:
KiritoDv
2026-01-08 16:21:08 -06:00
parent 5b401b45bf
commit f9b8a79ef0
6 changed files with 25 additions and 17 deletions
+21
View File
@@ -0,0 +1,21 @@
name: clang-format
on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Install clang-format
run: |
sudo apt-get update
sudo apt-get install -y clang-format-14
- name: Run clang-format
run: |
./run-clang-format.sh
git diff --exit-code
+1 -4
View File
@@ -1,8 +1,5 @@
name: Linux Validation
on:
pull_request:
branches: [ "*" ]
on: [pull_request]
jobs:
build:
+1 -4
View File
@@ -1,8 +1,5 @@
name: MacOS Validation
on:
pull_request:
branches: [ "*" ]
on: [pull_request]
jobs:
build:
-1
View File
@@ -1,5 +1,4 @@
name: GenerateBuilds
on:
push:
+1 -4
View File
@@ -1,8 +1,5 @@
name: Switch Validation
on:
pull_request:
branches: [ "*" ]
on: [pull_request]
jobs:
build-switch:
+1 -4
View File
@@ -1,8 +1,5 @@
name: Windows Validation
on:
pull_request:
branches: [ "*" ]
on: [pull_request]
jobs:
build: