Skip to content

[common] Add .vscode dir to gitignore #25

[common] Add .vscode dir to gitignore

[common] Add .vscode dir to gitignore #25

Workflow file for this run

name: Check formatting
on:
push:
branches:
- main
- develop
- feature_*
pull_request:
branches:
- main
- develop
- feature_*
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check
uses: jidicula/[email protected]
with:
clang-format-version: "15"
exclude-regex: src\/common\/crypto\/mbedtls\/drivers\/.*|mbedtls_config\.h|include\/aos\/common\/pkcs11\/cryptoki/.*
- name: Run cmake-format style check
run: |
python -m pip install --upgrade pip
pip install cmake_format
find . \( \( -not -path '*/build/*' \) -name '*.cmake' -or -name 'CMakeLists.txt' \) \
-exec cmake-format --check {} +;