Skip to content

Commit

Permalink
ci: Lint YAML files after build
Browse files Browse the repository at this point in the history
  • Loading branch information
kiriDevs committed Jun 27, 2024
1 parent 28c0905 commit de304c3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/maven_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Install yamllint
run: sudo apt update && sudo apt install -y yamllint

- name: Checkout current state of the repo
uses: actions/checkout@v4

Expand All @@ -27,3 +30,6 @@ jobs:
with:
name: kiriSMP_${{ github.sha }}
path: target/ksmpplugin-*.jar

- name: Lint emitted YAML files
run: 'yamllint -d "{document-start: disable}" target/classes/*.yml'

0 comments on commit de304c3

Please sign in to comment.