mirror of
https://github.com/Llewellynvdm/starship.git
synced 2025-02-10 16:08:35 +00:00
0965667807
Adds Rust-based standardized markdown formatting and a CI step to catch unformatted files.
17 lines
460 B
YAML
17 lines
460 B
YAML
name: Format + Docs Workflow
|
|
on:
|
|
push:
|
|
paths: ["docs/**","**.md","**.toml","**.js","**.json","**.ts"]
|
|
pull_request:
|
|
paths: ["docs/**","**.md","**.toml","**.js","**.json","**.ts"]
|
|
|
|
jobs:
|
|
# Run the dprint code formatter for documentation
|
|
dprint:
|
|
name: Dprint [Docs Formatter]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup | Checkout
|
|
uses: actions/checkout@v2.4.0
|
|
- name: Docs | Format
|
|
uses: dprint/check@v2.0 |