Skip to content

Commit

Permalink
✨include yamllint
Browse files Browse the repository at this point in the history
  • Loading branch information
josuablejeru committed May 1, 2023
1 parent 25a572f commit e86692f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ default:
stages:
- linting

yaml-lint:
stage: linting
# Lint all YAML files in a directory
script: yamllint .

ansible-lint:
stage: linting
artifacts:
Expand All @@ -36,3 +41,9 @@ ansible-lint:
- ansible-lint -v --show-relpath -f pep8 --nocolor | ansible-lint-junit -o ansible-lint.xml
```

## 🛠️ Tools included

- ansible
- ansible-lint
- ansible-lint-junit
- yamllint
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ansible==7.5.0
ansible-lint==6.15.0
ansible-lint-junit==0.17.7
yamllint==1.31.0

0 comments on commit e86692f

Please sign in to comment.