thorvg/.github/workflows/actions_cpplint.yml
Hermet Park 4709c8195f infra github: bump up version
Node.js 12 actions were deprecated.
Updated the script to use a more recent version.
2023-04-13 10:56:14 +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@v3
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 }}