Skip to content

Use struct deque instead of deprecated struct circlebuf #105

Use struct deque instead of deprecated struct circlebuf

Use struct deque instead of deprecated struct circlebuf #105

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@v2
- 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