mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-14 22:23:33 +08:00
Auto Formatting with clang-format-6.0 (#727)
* Add clang-format * Auto-format AlphaFilter and RingBuffer * Update to tab=8spaces * Allow for 120 width
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
name: Format Checks
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
format_checks:
|
||||
runs-on: ubuntu-latest
|
||||
container: px4io/px4-dev-clang:2019-10-24
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: install clang-format-6.0
|
||||
run: apt install -y clang-format-6.0
|
||||
- name: check_format
|
||||
run: ./tools/format.sh 0
|
||||
|
||||
Reference in New Issue
Block a user