f59da74a3e
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.1.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3.1.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
29 lines
650 B
YAML
29 lines
650 B
YAML
name: Clang Format
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- ".github/workflows/clang-format-lint.yml"
|
|
- "app/boards/**/*.c"
|
|
- "app/include/**/*.h"
|
|
- "app/src/**"
|
|
- "app/drivers/**/*.c"
|
|
- "app/drivers/**/*.h"
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/clang-format-lint.yml"
|
|
- "app/boards/**/*.c"
|
|
- "app/include/**/*.h"
|
|
- "app/src/**"
|
|
- "app/drivers/**/*.c"
|
|
- "app/drivers/**/*.h"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: DoozyX/clang-format-lint-action@v0.13
|
|
with:
|
|
source: "./app"
|
|
extensions: "h,c"
|