Fix/do not store owning data as const #258
Workflow file for this run
This file contains 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: 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 |