Skip to content

ci: Migrate to alpine base image #7

ci: Migrate to alpine base image

ci: Migrate to alpine base image #7

Workflow file for this run

name: "CMake Lint"
on:
push:
paths-ignore:
- 'README.md'
jobs:
lint:
name: "cmake lint"
runs-on: 'alpine:latest'
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apk update
sudo apk add \
py3-pip
pip install --break-system-packages 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 {} +