[common,crypto] Fix memory leak #46
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
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 {} +; |