Skip to content

Change build system to CMake (#2) #1

Change build system to CMake (#2)

Change build system to CMake (#2) #1

Workflow file for this run

name: Run checks for markdown, links, and pre-commit
on:
push:
branches:
- master
- develop
pull_request:
branches:
- "*"
workflow_dispatch:
jobs:
markdown-lint:
name: Lint Markdown files
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v17
with:
config: .markdownlint.json
globs: '**/*.md'
precommit:
name: pre-commit checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.10'
check-latest: true
- name: Install pre-commit
run: pip install pre-commit
- name: Run checks
run: pre-commit run -a -v
- name: Git status
if: always()
run: git status
- name: Full diff
if: always()
run: git diff