summaryrefslogtreecommitdiff
path: root/vendor/aws/aws-crt-php/.github/workflows/lint.yml
blob: 5aa3ebd2e74c138535dd78d936d6bd8b18caba55 (plain)
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
name: Lint

on: [push]

jobs:
  clang-format:

    runs-on: ubuntu-latest

    steps:
    - name: Checkout Sources
      uses: actions/checkout@v1

    - name: clang-format lint
      uses: DoozyX/[email protected]
      with:
        # List of extensions to check
        extensions: c

  check-submodules:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout Source
      uses: actions/checkout@v2
      with:
        submodules: true
        fetch-depth: 0
    - name: Check Submodules
      uses: awslabs/aws-crt-builder/.github/actions/check-submodules@main