Merge pull request #17 from vpodzime/patch-1 #41
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: Check formatting | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: sudo apt -y install shfmt clang-format | |
| - name: Initial setup | |
| run: ./bootstrap.sh | |
| - name: Configure | |
| run: ./configure --enable-debug | |
| - name: Check formatting | |
| run: make check-format |