mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Added manually triggered clang-format action
# Conflicts: # .github/workflows/clang-format_update.yaml
This commit is contained in:
parent
5a7674b637
commit
bd6e55b12e
7
.github/workflows/clang-format_update.yaml
vendored
7
.github/workflows/clang-format_update.yaml
vendored
@ -7,13 +7,14 @@ jobs:
|
||||
clang-format:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install clang-format
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends clang-format
|
||||
clang-format --version
|
||||
|
||||
run: |
|
||||
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.c' \)
|
||||
xargs clang-format --dry-run --Werror
|
||||
find . \( -name '*.cpp' -o -name '*.h' -o -name '*.c' \) | xargs clang-format --dry-run --Werror
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user