check-md: check CONTRIBUTING.md too (#6847)
parent
0c54ebdf41
commit
fdfe2a4e68
|
@ -5,10 +5,12 @@ on:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "doc/**"
|
- "doc/**"
|
||||||
- "CHANGELOG.md"
|
- "CHANGELOG.md"
|
||||||
|
- "CONTRIBUTING.md"
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "doc/**"
|
- "doc/**"
|
||||||
- "CHANGELOG.md"
|
- "CHANGELOG.md"
|
||||||
|
- "CONTRIBUTING.md"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
code-formatting:
|
code-formatting:
|
||||||
|
|
|
@ -6,11 +6,13 @@ on:
|
||||||
- "cmd/tools/check-md.v"
|
- "cmd/tools/check-md.v"
|
||||||
- "doc/**"
|
- "doc/**"
|
||||||
- "CHANGELOG.md"
|
- "CHANGELOG.md"
|
||||||
|
- "CONTRIBUTING.md"
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- "cmd/tools/check-md.v"
|
- "cmd/tools/check-md.v"
|
||||||
- "doc/**"
|
- "doc/**"
|
||||||
- "CHANGELOG.md"
|
- "CHANGELOG.md"
|
||||||
|
- "CONTRIBUTING.md"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docs-line-len-check:
|
docs-line-len-check:
|
||||||
|
@ -20,4 +22,4 @@ jobs:
|
||||||
- name: Build V
|
- name: Build V
|
||||||
run: make
|
run: make
|
||||||
- name: Check docs line length & code examples
|
- 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
|
||||||
|
|
|
@ -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:
|
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:
|
The main files are:
|
||||||
|
|
Loading…
Reference in New Issue