mirror of
https://github.com/tcpipuk/detect-versions.git
synced 2026-07-21 10:16:25 +00:00
A comprehensive GitHub/Forgejo action that identifies the runner's operating system (Ubuntu, Debian, macOS, Windows) and detects installed development tools with semantic versioning support. Provides reliable OS detection across multiple platforms using appropriate fallback methods, plus structured outputs for conditional workflow logic and intelligent cache key generation. The action outputs OS details (name, version, slug, architecture) and tool versions (CMake, Docker, Git, Go, Java, Node.js, Python, Rust) with separate major/minor/patch components for flexible version comparisons in workflows.
53 lines
991 B
YAML
53 lines
991 B
YAML
# Markdown linting configuration
|
|
|
|
# Force specific heading style - ATX (# symbols)
|
|
MD003:
|
|
style: atx
|
|
|
|
# Force dash for unordered lists
|
|
MD004:
|
|
style: dash
|
|
|
|
# Line length - 100 chars, but don't check code blocks or tables
|
|
MD013:
|
|
code_blocks: false
|
|
line_length: 100
|
|
headings: false
|
|
stern: false
|
|
tables: false
|
|
|
|
# Allow dollar signs in code blocks (for shell prompts)
|
|
MD014: false
|
|
|
|
# Trailing punctuation in headings - allow ? and !
|
|
MD026:
|
|
punctuation: ".,;:"
|
|
|
|
# Force ordered numbering for lists (1. 2. 3. not 1. 1. 1.)
|
|
MD029:
|
|
style: ordered
|
|
|
|
# Allow inline HTML for special formatting
|
|
MD033: false
|
|
|
|
# Allow emphasis used instead of a heading
|
|
MD036: false
|
|
|
|
# Allow spaces inside link text for better readability
|
|
MD039: false
|
|
|
|
# Prefer fenced code blocks over indented
|
|
MD046:
|
|
style: fenced
|
|
|
|
# Force backticks for code fences
|
|
MD048:
|
|
style: backtick
|
|
|
|
# Force asterisk for emphasis
|
|
MD049:
|
|
style: asterisk
|
|
|
|
# Force double asterisk for strong emphasis
|
|
MD050:
|
|
style: asterisk
|