ci: add linters #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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' |