Skip to content

Reformatted some comments/docstrings to be in a standardised format. #449

Reformatted some comments/docstrings to be in a standardised format.

Reformatted some comments/docstrings to be in a standardised format. #449

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
clang-tidy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
submodules: recursive
- name: Set up CMake
uses: lukka/[email protected]
- name: Configure CMake
working-directory: ${{ github.workspace }}/src/hades_extensions
run: cmake --preset LinuxDebug
- name: Run clang-tidy
working-directory: ${{ github.workspace }}/src/hades_extensions
run: clang-tidy -p ./build-debug/compile_commands.json --extra-arg=-std=c++20 --quiet ./**/*.cpp ./**/*.hpp
# cppcheck:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/[email protected]
# - name: Run cppcheck
# working-directory: ${{ github.workspace }}/src/hades_extensions
# run: |
# sudo apt-get install -y cppcheck
# cppcheck --enable=all --suppress=missingInclude --suppress=unknownMacro --quiet --error-exitcode=10 ./include/ ./src/ ./tests/
clang-format:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
submodules: recursive
- name: Run clang-format
uses: jidicula/[email protected]
with:
check-path: ${{ github.workspace }}/src/hades_extensions
exclude-regex: build-debug|vcpkg