Semantic: check there is at most one DERIVATIVE block #335
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@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 |