mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
check-md: check CONTRIBUTING.md too (#6847)
This commit is contained in:
parent
0c54ebdf41
commit
fdfe2a4e68
3 changed files with 7 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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:
|
||||||
|
|
4
.github/workflows/docs_ci.yml
vendored
4
.github/workflows/docs_ci.yml
vendored
|
@ -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…
Add table
Add a link
Reference in a new issue