Skip to content

Commit f85eabd

Browse files
committed
Use yamllint action from reviewdog
1 parent 1f79872 commit f85eabd

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/lint.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
go-version: stable
3131

32-
- name: Lint Code
32+
- name: Lint Go
3333
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
3434

3535
actionlint:
@@ -39,7 +39,8 @@ jobs:
3939
- name: Checkout Repository
4040
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4141

42-
- uses: reviewdog/action-actionlint@afad3b6ab835e5611bda8c8193377e2d5c21413d # v1.51.0
42+
- name: Lint Actions
43+
uses: reviewdog/action-actionlint@afad3b6ab835e5611bda8c8193377e2d5c21413d # v1.51.0
4344
with:
4445
actionlint_flags: -shellcheck ""
4546

@@ -50,7 +51,8 @@ jobs:
5051
- name: Checkout Repository
5152
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
5253

53-
- uses: DavidAnson/markdownlint-cli2-action@b4c9feab76d8025d1e83c653fa3990936df0e6c8 # v16.0.0
54+
- name: Lint Markdown
55+
uses: DavidAnson/markdownlint-cli2-action@b4c9feab76d8025d1e83c653fa3990936df0e6c8 # v16.0.0
5456
with:
5557
config: .markdownlint-cli2.yaml
5658
globs: "**/*.md"
@@ -62,8 +64,5 @@ jobs:
6264
steps:
6365
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
6466

65-
- name: Install yamllint
66-
run: pip install yamllint
67-
68-
- name: Lint YAML files
69-
run: yamllint .
67+
- name: Lint YAML
68+
uses: reviewdog/action-yamllint@508148c0d959b166798f9792d1b29dddcac37348 # v1.16.0

0 commit comments

Comments
 (0)