Skip to content

Commit e412260

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

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/lint.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions:
1818

1919
jobs:
2020
lint:
21-
name: Lint
21+
name: Go Lint
2222
runs-on: ubuntu-22.04
2323
steps:
2424
- name: Checkout Repository
@@ -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"
@@ -60,10 +62,8 @@ jobs:
6062
name: YAML lint
6163
runs-on: ubuntu-22.04
6264
steps:
63-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
64-
65-
- name: Install yamllint
66-
run: pip install yamllint
65+
- name: Checkout Repository
66+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
6767

68-
- name: Lint YAML files
69-
run: yamllint .
68+
- name: Lint YAML
69+
uses: reviewdog/action-yamllint@508148c0d959b166798f9792d1b29dddcac37348 # v1.16.0

0 commit comments

Comments
 (0)