Skip to content

Commit

Permalink
Fix broken clang-format workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteOtter committed Jul 18, 2024
1 parent 2d582c3 commit 5e1f759
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/clang-format-check.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# SPDX-FileCopyrightText: Menix-OS Team <info@menix-os.org>
# SPDX-License-Identifier: LGPL-2.1-or-later
name: clang-format Check

on:
pull_request:
types: [opened, review_requested, synchronize]
Expand All @@ -15,6 +18,7 @@ jobs:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Filter only files changed by the PR.
- name: Filter changed files
id: filter
Expand All @@ -26,7 +30,6 @@ jobs:
h_files:
- '**.h'
# Check code.
- uses: actions/checkout@v4
- name: Run clang-format style check for C.
if: steps.filter.outputs.c_files == 'true' || steps.filter.outputs.h_files == 'true'
uses: jidicula/clang-format-action@v4.13.0
Expand Down

0 comments on commit 5e1f759

Please sign in to comment.