Skip to content

✨ Implement Websocket per message compression extension #85

✨ Implement Websocket per message compression extension

✨ Implement Websocket per message compression extension #85

Workflow file for this run

name: Lint CI
on:
push:
branches: [master]
pull_request:
jobs:
clang-format:
runs-on: ubuntu-22.04
steps:
- run: |
sudo apt-get update && sudo apt-get install clang-format-14
shopt -s globstar
- uses: actions/checkout@v3
- run: find \( -name "*.h" -or -name "*.cpp" \) -exec clang-format-14 -i {} \;
- run: find \( -name "*.h" -or -name "*.cpp" \) -exec ./.github/scripts/add-newline-if-missing.sh {} \;
- uses: ./.github/actions/process-linting-results
with:
linter_name: clang-format
cmake-format:
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-python@v4.3.0
with:
python-version: "3.x"
- run: |
pip install cmakelang
shopt -s globstar
- uses: actions/checkout@v3
- run: find \( -name "CMakeLists.txt" -or -name "*.cmake" \) -exec cmake-format -i {} \;
- uses: ./.github/actions/process-linting-results
with:
linter_name: cmake-format
line-ending:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: git add --renormalize .
- uses: ./.github/actions/process-linting-results
with:
linter_name: line-ending