File: formatting.yml

package info (click to toggle)
nmodl 0.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,992 kB
  • sloc: cpp: 28,492; javascript: 9,841; yacc: 2,804; python: 1,967; lex: 1,674; xml: 181; sh: 136; ansic: 37; makefile: 18; pascal: 7
file content (24 lines) | stat: -rw-r--r-- 613 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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