name: Docs CI on: push: paths: - "cmd/tools/check-md.v" - "doc/**" - "CHANGELOG.md" - "CONTRIBUTING.md" pull_request: paths: - "cmd/tools/check-md.v" - "doc/**" - "CHANGELOG.md" - "CONTRIBUTING.md" jobs: docs-line-len-check: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: Build V run: make - name: Check docs line length & code examples run: ./v run cmd/tools/check-md.v doc/docs.md doc/upcoming.md CHANGELOG.md CONTRIBUTING.md