update components & lwp. #1588
Workflow file for this run
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: Static code analysis | |
on: | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- documentation/** | |
- '**/README.md' | |
- '**/README_zh.md' | |
jobs: | |
scancode_job: | |
runs-on: ubuntu-latest | |
name: Static code analysis | |
if: github.repository_owner == 'RT-Thread' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.8 | |
- name: cppcheck | |
shell: bash | |
run: | | |
sudo apt-get update | |
sudo apt-get -qq install cppcheck | |
pip install click PyYaml | |
git remote -v | |
git fetch origin | |
cppcheck --version | |
ls | |
git branch -a | |
python tools/ci/cpp_check.py check |