Skip to content

Delete broken readme (1.16) #7

Delete broken readme (1.16)

Delete broken readme (1.16) #7

# Lints CMake config and C++ source code.
name: "Lint source code"
on:
workflow_dispatch:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
jobs:
lint-source-code:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python venv
uses: ./.github/actions/init-python
with:
cache-key: "lint-source-code"
- name: Install dependencies
run: |
source .venv/bin/activate
pip install pyyaml cmake_format clang_format
- name: Linting with CMake formatter
run: ./scripts/lint_cmake.py
- name: Linting with Clang format
run: ./scripts/lint_clang.py