Remove unused pktbuf under conn_t #74
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Format Check | |
| on: | |
| push: # Runs on push to any branch | |
| pull_request: # Runs on PRs targeting any branch | |
| jobs: | |
| format: | |
| name: Check C/C++ Formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install clang-format | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y clang-format | |
| - name: Check C/C++ code formatting | |
| run: | | |
| echo "Checking formatting..." | |
| # Find C source and header files, then check formatting with clang-format | |
| find . -name '*.c' -o -name '*.h' | xargs clang-format --dry-run -Werror | |
| echo "Formatting check passed." |