summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
blob: 81051d198e5ef9fd59d864a7120b378a90a2bc67 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
#   Copyright (C) 2021 Reiko Asakura. All Rights Reserved.
#
#   Vita Development Suite Libraries
#

name: Lint

on:
  pull_request:
  push:
  schedule:
    - cron:  '0 10 * * *'

jobs:

  lint:
    name: Lint
    runs-on: ubuntu-latest
    steps:

      - name: Checkout
        uses: actions/checkout@v2

      - name: Install dependencies
        run: |
          pip3 install ruamel.yaml

      - name: Check NIDs sort
        run: |
          python3 scripts/nids-check-sort.py

      - name: Check NIDs split
        run: |
          python3 scripts/nids-check-split.py

      - name: Check NIDs digest
        run: |
          python3 scripts/nids-check-digest.py

      - name: Check header files
        run: |
          python3 scripts/check-header-files.py