-
-
Notifications
You must be signed in to change notification settings - Fork 11
35 lines (32 loc) · 836 Bytes
/
ci.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
---
name: ci
"on":
pull_request:
push:
branches:
- main
jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4
- name: Run yaml Lint
uses: actionshub/yamllint@main
markdownlint-cli2:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4
- name: Run Markdown Lint
uses: DavidAnson/markdownlint-cli2-action@v15
with:
globs: "**/*.md"
json:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4
- name: Run JSON Lint
run: |
git ls-files *.json | xargs jq empty