Skip to content

ci: add linters

ci: add linters #4

Workflow file for this run

# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: (C) 2025 Siemens
#
# Authors:
# Eugen Kremer <[email protected]>
name: Linting
on:
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
reuse-compliance:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v4
markdown-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Markdown Lint
uses: articulate/actions-markdownlint@v1
with:
config: .markdownlint.jsonc
files: '**/*.md'
clang-format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run clang-format check
uses: jidicula/[email protected]
with:
clang-format-version: '18'
check-path: 'src'