Skip to content

Commit

Permalink
Add stylecheck github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaeyoung-Lim committed Jul 22, 2021
1 parent 407d1f2 commit 0b6fef3
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/check_style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Style Checks

on:
push:
branches:
- master
pull_request:
branches:
- '*'

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
container:
- 'px4io/px4-dev-simulation-focal:2020-09-14'
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v1
- name: submodule update
run: git submodule update --init --recursive
- name: Install clang-format
run: apt update && apt install -y clang-format-6.0
- name: Check Code format
working-directory: Tools
run: |
./check_code_format.sh ..

0 comments on commit 0b6fef3

Please sign in to comment.