-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (38 loc) · 803 Bytes
/
ci.yml
File metadata and controls
44 lines (38 loc) · 803 Bytes
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
33
34
35
36
37
38
39
40
41
42
43
44
# Continuous Integration
# Validates code formatting
name: CI
on:
push:
branches: [master]
paths-ignore:
- '**/*.md'
- 'docs/**'
- 'index.md'
- '_config.yml'
- 'openspec/**'
pull_request:
branches: [master]
paths-ignore:
- '**/*.md'
- 'docs/**'
- 'index.md'
- '_config.yml'
- 'openspec/**'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
format-check:
name: Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check formatting
uses: jidicula/clang-format-action@v4.14.0
with:
clang-format-version: '17'
fallback-style: 'LLVM'