Skip to content

Fix/do not store owning data as const #258

Fix/do not store owning data as const

Fix/do not store owning data as const #258

name: formatting-check
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
cmake-formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
container:
image: "ghcr.io/kamping-site/kamping-ci:2024.2"
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
submodules: 'recursive'
- name: Silence "dubious ownership" warning from git
run: git config --global --add safe.directory $(pwd)
- name: Run CMake configure step
run: cmake -B build
- name: Check C++ formatting
run: cmake --build build --target check-clang-format
- name: Check CMake formatting
run: cmake --build build --target check-cmake-format