infra bot: Add Memcheck bot (valgrind)
[platform/core/graphics/tizenvg.git] / .github / workflows / actions_cpplint.yml
1 name: Check Commit
2
3 on:
4   pull_request:
5     branches:
6       - master
7
8 jobs:
9   coding-style:
10     runs-on: ubuntu-latest
11     steps:
12     - uses: actions/checkout@v2
13       with:
14         submodules: true
15
16     - name: Install Packages
17       run: |
18         sudo apt-get update
19         sudo apt-get install curl
20         sudo apt-get install cmake jq clang
21         sudo apt-get install software-properties-common
22         sudo apt-get install python3-pip
23         pip3 install wheel --user
24         pip3 install cpplint --user
25
26     - name: Run Cpplint Script
27       run: |
28         export PATH=$PATH:~/.local/bin/
29         chmod +x "${GITHUB_WORKSPACE}/.github/workflows/cpp_lint_check.sh"
30         "${GITHUB_WORKSPACE}/.github/workflows/cpp_lint_check.sh"
31       env:
32         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33