Update actions (#1275)

* Update analyze action

* Update build action

* Update format action

* Update legobin action

* Update naming action
This commit is contained in:
larzie
2024-12-25 18:39:26 +03:00
committed by GitHub
parent 0f338a882b
commit 457300ddba
5 changed files with 227 additions and 203 deletions

View File

@@ -1,6 +1,9 @@
name: Format
on: [push, pull_request]
on:
push:
pull_request:
workflow_dispatch:
jobs:
clang-format:
@@ -8,12 +11,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout repository
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