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