Skip to content

refactor: fix semantic linebreaks #218

refactor: fix semantic linebreaks

refactor: fix semantic linebreaks #218

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.repository }}
uses: actions/[email protected]
- name: Install uv
uses: astral-sh/[email protected]
id: setup-uv
with:
# renovate: datasource=pypi dependency=uv
version: "0.4.27"
enable-cache: false
- name: Print the installed version
run: echo "Installed uv version is ${{ steps.setup-uv.outputs.uv-version }}"
- name: Install Python
run: uv python install
- name: Print python version
run: uv python list
- name: Check lockfile is up-to-date
run: uv lock --locked
- name: Run pre-commit
uses: pre-commit/[email protected]
- name: Run markdownlint
uses: YannickTeKulve/[email protected]
with:
image: davidanson/markdownlint-cli2-rules:v0.14.0
# node user does not have permissions to workspace due to user id mismatch
# add --user root if a formatter is used that outputs a file
options: -v ${{ github.workspace }}:/workdir
run: markdownlint-cli2 --config .github/markdownlint/.markdownlint-cli2.yaml "**/*.md"
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
# Path to SARIF file relative to the root of the repository
sarif_file: markdownlint-cli2-sarif.sarif
# Optional category for the results
# Used to differentiate multiple results for one commit
category: markdownlint
- name: Build mkdocs site
run: uv run mkdocs build --strict