Skip to content

Commit

Permalink
Validate YAML style in CI and PR builds (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay authored Jan 26, 2022
1 parent 9fbc514 commit 61ae29a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ jobs:
env:
PYTHONPATH: ${{github.workspace}}/ros_buildfarm
run: ${{github.workspace}}/ros_buildfarm/scripts/misc/validate_config_index.py file://${{github.workspace}}/index.yaml
yamllint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Validate YAML style
run: yamllint .
7 changes: 7 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
extends: default

rules:
indentation:
indent-sequences: false
line-length: disable

0 comments on commit 61ae29a

Please sign in to comment.