File: clang-format.yml

package info (click to toggle)
ruby-oj 3.16.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,208 kB
  • sloc: ansic: 20,028; ruby: 11,642; sh: 70; makefile: 17
file content (32 lines) | stat: -rw-r--r-- 589 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: clang-format Check

on:
  push:
    branches:
      - develop
      - master
    paths:
      - ".clang-format"
      - ".github/workflows/clang-format.yml"
      - "**/*.c"
      - "**/*.h"
  pull_request:
    paths:
      - ".clang-format"
      - ".github/workflows/clang-format.yml"
      - "**/*.c"
      - "**/*.h"

jobs:
  formatting-check:
    name: Formatting Check

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v6

    - name: Run clang-format style check
      uses: jidicula/clang-format-action@v4.15.0
      with:
        clang-format-version: 20