Revert "Update actions (#1275)"

This reverts commit 457300ddba.
This commit is contained in:
Ramen2X
2024-12-25 14:59:07 -05:00
parent 6b3fcafbe1
commit 4552505082
5 changed files with 203 additions and 227 deletions

View File

@@ -1,9 +1,6 @@
name: Format
on:
push:
pull_request:
workflow_dispatch:
on: [push, pull_request]
jobs:
clang-format:
@@ -11,13 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/checkout@v4
- name: Run clang-format
run: |
find CONFIG LEGO1 ISLE -iname '*.h' -o -iname '*.cpp' | xargs \
pipx run "clang-format>=17,<18" \
--style=file \
-i
git diff --exit-code
- name: Run clang-format
run: |
find CONFIG LEGO1 ISLE -iname '*.h' -o -iname '*.cpp' | xargs \
pipx run "clang-format>=17,<18" \
--style=file \
-i
git diff --exit-code