Skip to content

.github(Fedora): Add RPM build flow for Fedora 40 #61

.github(Fedora): Add RPM build flow for Fedora 40

.github(Fedora): Add RPM build flow for Fedora 40 #61

Workflow file for this run

name: Clang Format Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
clang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Clang
run: |
sudo apt-get install -y clang-format-12
clang-format -i -fallback-style=none $(git ls-files | grep '\.\(c\|h\)$')
- name: Check
# Build your program with the given configuration
run: |
dirty=$(git ls-files --modified)
set +x
if [[ $dirty ]]; then
git diff
echo "Error: File(s) are not properly formatted."
echo "$dirty"
exit 1
fi