forked from openconfig/public
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 876 Bytes
/
yaml.yaml
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
name: YAML Lint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: YAML Lint
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: yaml-lint individual specs
uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: release
no_warnings: true
config_data: |
extends: default
rules:
line-length:
level: warning
- name: Concatenate spec files
run: bash scripts/create_concatenated_spec_file.sh
- name: yaml-lint concatenated spec
uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: concatenated_spec_file.yml
no_warnings: true
config_data: |
extends: default
rules:
line-length:
level: warning