mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-23 16:37:43 +00:00
24 lines
546 B
YAML
24 lines
546 B
YAML
name: Check formatting
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
check_date:
|
|
runs-on: ubuntu-latest
|
|
name: Check formatting
|
|
strategy:
|
|
matrix:
|
|
path:
|
|
- "firmware/common"
|
|
- "firmware/application"
|
|
- "firmware/baseband"
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: print latest_commit
|
|
run: echo ${{ github.sha }}
|
|
- name: clang-format Check
|
|
uses: jidicula/clang-format-action@v4.11.0
|
|
with:
|
|
check-path: ${{ matrix.path }}
|
|
fallback-style: Chromium
|