File tree 1 file changed +13
-10
lines changed
1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change 5
5
- push
6
6
7
7
jobs :
8
- build :
9
- name : Lint OpenAPI Descriptions
8
+ lint :
9
+ name : Lint releases
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Checkout Code
13
13
uses : actions/checkout@v4
14
- - name : Yaml Lint
15
-
14
+ - uses : actions/setup-python@v5
15
+ name : Install Python
16
16
with :
17
- yamllint_file_or_dir : ' descriptions/**/*.yaml'
18
- yamllint_strict : false
19
- yamllint_config_filepath : ' .yamllint-config.yml'
20
- yamllint_comment : true
21
- - uses : actions/setup-node@v3
17
+ python-version : ' 3.12'
18
+ - run : pip install yamllint
19
+ name : Install yamllint
20
+ - run : yamllint -f parsable -c .yamllint-config.yml descriptions/api.github.com/*.yaml
21
+ name : Run yamllint on project descriptions
22
+ - name : Install NodeJS
23
+ uses : actions/setup-node@v4
22
24
with :
23
25
node-version : ' 16'
24
- - run : npm install
26
+ - name : Install Node modules
27
+ run : npm ci
25
28
- name : JSON Lint
26
29
run : npm run lint
27
30
- name : OpenAPI Lint
You can’t perform that action at this time.
0 commit comments