Skip to content

Run lua_plugin example with two lua plugins #36

Run lua_plugin example with two lua plugins

Run lua_plugin example with two lua plugins #36

Workflow file for this run

name: "CMake Lint"
on:
# always run on main branch
push:
branches: [ main ]
paths-ignore:
- 'README.md'
- 'CONTRIBUTING.md'
- 'LICENSE'
# run on PR to main branch if relevant files changed
pull_request:
branches: [ main ]
paths:
- '**/CMakeLists.txt'
- '.github/workflows/cmake-lint.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
name: "cmake lint"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt update -y
sudo apt -y --no-install-recommends install \
python3-pip='22.*'
pip install cmakelint
- name: Execute cmakelint
run: find . \( \( -path './build' -o -path '*/.*' \) -prune \) -o
\( -type f -a -iname 'CMakeLists.txt' \)
-exec echo "Linting '{}'..." \;
-exec cmakelint --spaces=1 {} +