Skip to content

Changed formulation from u+g to u-g #19

Changed formulation from u+g to u-g

Changed formulation from u+g to u-g #19

Workflow file for this run

# https://github.com/cpp-linter/cpp-linter-action?tab=readme-ov-file
name: cpp-linter
on:
pull_request:
# branches: [main, master, develop]
paths: ['**.c', '**.cpp', '**.h', '**.hpp', '**.cxx', '**.hxx', '**.cc', '**.hh', '**CMakeLists.txt', 'meson.build', '**.cmake']
push:
# branches: [main, master, develop]
paths: ['**.c', '**.cpp', '**.h', '**.hpp', '**.cxx', '**.hxx', '**.cc', '**.hh', '**CMakeLists.txt', 'meson.build', '**.cmake']
jobs:
cpp-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# ... optionally setup build env to create a compilation database
- uses: cpp-linter/cpp-linter-action@v2
id: linter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
style: 'file' # Use .clang-format config file.
tidy-checks: '' # disable clang-tidy checks.
- name: Fail fast?!
if: steps.linter.outputs.clang-format-checks-failed > 0
run: exit 1