Skip to content

Commit de304c3

Browse files
committed
ci: Lint YAML files after build
1 parent 28c0905 commit de304c3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/maven_build.yml

+6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10+
- name: Install yamllint
11+
run: sudo apt update && sudo apt install -y yamllint
12+
1013
- name: Checkout current state of the repo
1114
uses: actions/checkout@v4
1215

@@ -27,3 +30,6 @@ jobs:
2730
with:
2831
name: kiriSMP_${{ github.sha }}
2932
path: target/ksmpplugin-*.jar
33+
34+
- name: Lint emitted YAML files
35+
run: 'yamllint -d "{document-start: disable}" target/classes/*.yml'

0 commit comments

Comments
 (0)