Skip to content

🎨 Add maybe_unused to unused parameter #45

🎨 Add maybe_unused to unused parameter

🎨 Add maybe_unused to unused parameter #45

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 update && sudo apt-get install clang-format-15
shopt -s globstar
- uses: actions/checkout@v3
- run: find \( -name "*.h" -or -name "*.cpp" \) -exec clang-format-15 -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/[email protected]
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