Run pre-commit on all files #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%YAML 1.2 | ||
--- | ||
name: Style Checks | ||
on: # yamllint disable-line rule:truthy | ||
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@v4 | ||
- 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 .. |