2020-10-20 21:14:56 +03:00
|
|
|
name: Docs CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
2020-11-18 20:28:28 +03:00
|
|
|
- ".github/workflows/docs_ci.yml"
|
2020-10-20 21:14:56 +03:00
|
|
|
- "cmd/tools/check-md.v"
|
2020-11-18 20:28:28 +03:00
|
|
|
- "**.md"
|
2020-10-20 21:14:56 +03:00
|
|
|
pull_request:
|
|
|
|
paths:
|
2020-11-18 20:28:28 +03:00
|
|
|
- ".github/workflows/docs_ci.yml"
|
2020-10-20 21:14:56 +03:00
|
|
|
- "cmd/tools/check-md.v"
|
2020-11-18 20:28:28 +03:00
|
|
|
- "**.md"
|
2020-10-20 21:14:56 +03:00
|
|
|
|
|
|
|
jobs:
|
2020-11-18 20:28:28 +03:00
|
|
|
check-markdown:
|
2020-10-20 21:14:56 +03:00
|
|
|
runs-on: ubuntu-18.04
|
2020-11-19 11:36:30 +03:00
|
|
|
timeout-minutes: 5
|
2020-10-20 21:14:56 +03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build V
|
|
|
|
run: make
|
2020-11-18 20:28:28 +03:00
|
|
|
- name: Check markdown line length & code examples
|
|
|
|
run: ./v run cmd/tools/check-md.v -all
|