Skip to content

Tristan0x/sonar source fixes #293

Tristan0x/sonar source fixes

Tristan0x/sonar source fixes #293

Workflow file for this run

name: Check formatting
concurrency:
group: ${{ github.workflow }}#${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
branches:
- master
- release/**
jobs:
all:
name: C/C++, CMake and Python
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Update submodule
working-directory: ${{runner.workspace}}/nmodl
run: git submodule update --init cmake/hpc-coding-conventions
- name: Check formatting
working-directory: ${{runner.workspace}}/nmodl
run: cmake/hpc-coding-conventions/bin/format -v --dry-run