mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-12 22:07:37 +00:00
Formatted code (#1007)
* Updated style * Updated files * fixed new line * Updated spacing * File fix WIP * Updated to clang 13 * updated comment style * Removed old comment code
This commit is contained in:
13
.github/workflows/check_formatting.yml
vendored
13
.github/workflows/check_formatting.yml
vendored
@@ -1,12 +1,17 @@
|
||||
name: Check formatting
|
||||
|
||||
on: #[push, pull_request] To be enabled once formatting is fixed in repo
|
||||
workflow_dispatch:
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
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
|
||||
@@ -14,5 +19,5 @@ jobs:
|
||||
- name: clang-format Check
|
||||
uses: jidicula/clang-format-action@v4.11.0
|
||||
with:
|
||||
check-path: "firmware"
|
||||
check-path: ${{ matrix.path }}
|
||||
fallback-style: Chromium
|
||||
|
Reference in New Issue
Block a user