Skip to content

Configurations are immutable and validated at construction. #457

Configurations are immutable and validated at construction.

Configurations are immutable and validated at construction. #457

Workflow file for this run

name: style-checks
on: [push, pull_request]
jobs:
clang-format:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: sudo apt-get update
- run: sudo apt-get install -y clang-format-15
- name: run git-clang-format
run: clang-format-15 --style=file --dry-run --Werror `git ls-files *.c *.cpp *.h | grep -v -E "Kokkos_Profiling_C_Interface\.h|utarray.h|uthash.h|utlist.h"` > clang-format-diff 2>&1
shell: bash
- name: output clang format diff
if: always()
run: cat ./clang-format-diff