-
Notifications
You must be signed in to change notification settings - Fork 144
80 lines (67 loc) · 1.64 KB
/
Copy pathlint.yml
File metadata and controls
80 lines (67 loc) · 1.64 KB
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
name: Lint
on:
pull_request:
branches:
- master
push:
branches:
- master
concurrency:
group: ${{ github.ref_name }}-lint
cancel-in-progress: true
permissions:
contents: read
jobs:
checks:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Mise
uses: jdx/mise-action@v4
with:
version: v2026.9.0 # renovate: datasource=github-releases depName=mise packageName=jdx/mise
- name: Install dependencies
run: |
mise bootstrap packages apply
- name: Run lint
run: |
mise run lint --no-progress
actionlint:
name: Actionlint
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Lint Actions
uses: reviewdog/action-actionlint@v1
with:
actionlint_flags: -shellcheck ""
markdown-lint:
name: Markdown Lint
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Lint Markdown
uses: DavidAnson/markdownlint-cli2-action@v24
with:
config: .markdownlint-cli2.yaml
globs: "**/*.md"
fix: false
yaml-lint:
name: YAML lint
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Lint YAML
uses: reviewdog/action-yamllint@v1