More typos #48
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 style | |
| on: | |
| push: | |
| pull_request: | |
| merge_group: | |
| jobs: | |
| check-style: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Prepare | |
| run: | | |
| sudo apt-get update -y | |
| sudo apt-get install -y pkg-config cmake cmake build-essential shellcheck | |
| wget https://github.com/muttleyxd/clang-tools-static-binaries/releases/download/master-796e77c/clang-format-20_linux-amd64 | |
| echo "bbb30a777d075dfbe91aa146a1ea1fa0c1d4745efa9c5490ebf9f5a7a7dec679c22f1c6015d5c85cb5b5b22964d86ae65002f1d4145bfdd7f27022d981b58979 clang-format-20_linux-amd64" | sha512sum -c | |
| mkdir -p ~/.local/bin/ | |
| mv clang-format-20_linux-amd64 ~/.local/bin/clang-format | |
| chmod +x ~/.local/bin/clang-format | |
| - name: Check fix_style | |
| run: scripts/fix_style.py --dry-run | |
| # - name: Shellcheck | |
| # run: find . -type f -name '*.sh' -not -path './deps/*' -print0 | xargs -0 shellcheck |