Skip to content

Commit

Permalink
[sw,c] Add a linting check to github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Douglas Reis <[email protected]>
  • Loading branch information
engdoreis committed Aug 11, 2023
1 parent 4183e1c commit 451de09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
wget https://github.com/lowRISC/lowrisc-toolchains/releases/download/20230427-1/lowrisc-toolchain-gcc-rv32imcb-20230427-1.tar.xz
tar -xvf lowrisc-toolchain-gcc-rv32imcb-20230427-1.tar.xz
echo "/tmp/lowrisc-toolchain-gcc-rv32imcb-20230427-1/bin" >> $GITHUB_PATH
- name: Linting
run: find -name "*.[c|h]" -exec clang-format -n {} \;

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand Down

0 comments on commit 451de09

Please sign in to comment.