-
Notifications
You must be signed in to change notification settings - Fork 2
83 lines (68 loc) · 2.13 KB
/
quality_check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
name: "Quality checks"
"on":
pull_request:
branches:
- master
- cosmicelevator
- palazzo
- colosseo
- colosseo_II
- genbutemple
- suzukacastle
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
yamllint:
name: "Yamllint"
runs-on: ubuntu-latest
steps:
- name: "Check out"
uses: actions/[email protected]
- name: "Run Yamllint"
uses: ibiqlik/[email protected]
with:
config_file: .github/workflows/config/yamllintconfig.yml
spellcheck:
name: "Spellcheck"
runs-on: ubuntu-latest
steps:
- name: "Check out"
uses: actions/[email protected]
- name: "Run PySpelling"
uses: rojopolis/[email protected]
with:
task_name: Markdown
markdownlint:
name: "Markdownlint"
runs-on: ubuntu-latest
steps:
- name: "Check out"
uses: actions/[email protected]
- name: "Run Markdownlint"
uses: nosborn/[email protected]
with:
files: .
config_file: .github/workflows/config/markdownlint.json
ignore_path: .github/workflows/config/markdownlintignore
checkcodes:
name: "Approbation"
runs-on: ubuntu-latest
steps:
- name: "Check out"
uses: actions/[email protected]
- name: Log in to the GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: "Run Check AC codes"
run: |
npx github:vegaprotocol/approbation check-codes --specs="{./non-protocol-specs/**/*.md,./protocol/**/*.md,./protocol/**/*.ipynb}"
- name: "Run Check file names"
run: |
npx github:vegaprotocol/approbation check-filenames --specs="{./non-protocol-specs/**/*.md,./protocol/**/*.md}"
- name: "Run Check Features"
run: |
npx github:vegaprotocol/approbation check-features --specs="{./non-protocol-specs/**/*.md,./protocol/**/*.md,./protocol/**/*.ipynb}" --features="./protocol/features.json"