Lift shared print_top_verbatim_blocks
code.
#1619
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: 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@v4 | |
- 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 |