Skip to content

Commit

Permalink
YDA-5623: fail workflow if code is not properly formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
lwesterhof committed Mar 11, 2024
1 parent 1c2c1a8 commit 3001fe1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linter-irods-clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Clang Format
- name: Install ClangFormat
run: |
sudo apt-get install -y clang-format
- name: Run Clang-Format
- name: Run ClangFormat
run: |
clang-format -n src/* | grep clang-formatted
echo "warnings=$(clang-format -n src/* | wc -l)" >> "$GITHUB_ENV"

0 comments on commit 3001fe1

Please sign in to comment.