summaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/includeguards.yml
blob: 6d17fe5f5ba623ac695bced1bf9de5dba8a69f09 (plain) (blame)
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
name: 'Check #include guards'

on:
  push:
    paths:
    - '.github/workflows/**'
    - 'src/devices/**.h'
    - 'src/mame/**.h'
  pull_request:
    paths:
    - '.github/workflows/**'
    - 'src/devices/**.h'
    - 'src/mame/**.h'

permissions:
  contents: read

jobs:
  validate:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@main
      with:
        fetch-depth: 0
    - name: Validate
      run: python3 scripts/build/check_include_guards.py src/devices src/mame