thorvg/.github/workflows/actions_cpplint.yml
JunsuChoi 6ffe391c5d infra: Disable cpp lint checker
When we do 1.0 release, we clean up the coding style of all codes.
Currently, there are limitations in our coding style and lint settings.
This results in unnecessary bot comments.
2023-01-30 13:37:47 +09:00

34 lines
843 B
YAML

name: Check Commit
on:
pull_request:
branches:
- master
jobs:
coding-style:
if: ${{ false }} # disable for now
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install Packages
run: |
sudo apt-get update
sudo apt-get install curl
sudo apt-get install cmake jq clang
sudo apt-get install software-properties-common
sudo apt-get install python3-pip
pip3 install wheel --user
pip3 install cpplint --user
- name: Run Cpplint Script
run: |
export PATH=$PATH:~/.local/bin/
chmod +x "${GITHUB_WORKSPACE}/.github/workflows/cpp_lint_check.sh"
"${GITHUB_WORKSPACE}/.github/workflows/cpp_lint_check.sh"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}