check-md: check CONTRIBUTING.md too (#6847)

pull/6859/head
Lukas Neubert 2020-11-16 16:49:40 +01:00 committed by GitHub
parent 0c54ebdf41
commit fdfe2a4e68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -5,10 +5,12 @@ on:
paths-ignore:
- "doc/**"
- "CHANGELOG.md"
- "CONTRIBUTING.md"
pull_request:
paths-ignore:
- "doc/**"
- "CHANGELOG.md"
- "CONTRIBUTING.md"
jobs:
code-formatting:

View File

@ -6,11 +6,13 @@ on:
- "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:
@ -20,4 +22,4 @@ jobs:
- 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
run: ./v run cmd/tools/check-md.v doc/docs.md doc/upcoming.md CHANGELOG.md CONTRIBUTING.md

View File

@ -21,7 +21,8 @@ download the C version of the compiler and rebuild it from scratch.
The architecture of the compiler is very simple and has three distinct steps:
Parse/generate AST (`v.parser`) => Check types (`v.checker`) => Generate C/JavaScript/machine code (`v.gen`)
Parse/generate AST (`v.parser`) => Check types (`v.checker`)
=> Generate C/JavaScript/machine code (`v.gen`)
The main files are: