Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
feature: add the yamllint tool to check yaml files
Browse files Browse the repository at this point in the history
Signed-off-by: fengzixu <[email protected]>
  • Loading branch information
fengzixu committed Dec 7, 2019
1 parent 20dca47 commit 8d8194d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
docker:
# this image is built from Dockerfile
# https://github.com/pouchcontainer/pouchlinter/blob/master/Dockerfile
- image: pouchcontainer/pouchlinter:v0.2.4
- image: pouchcontainer/pouchlinter:v0.2.6
working_directory: /go/src/github.com/dragonflyoss/Dragonfly
steps:
- checkout
Expand All @@ -37,6 +37,10 @@ jobs:
name: use opensource tool client9/misspell to correct commonly misspelled English words
command: |
find ./* -name "*" | xargs misspell -error
- run:
name: use yamllint tool to check the format of all yaml files
command: |
find ./* -name "*" | xargs yamllint -f colored
- run:
name: use ShellCheck (https://github.com/koalaman/shellcheck) to check the validateness of shell scripts in pouch repo
command: |
Expand Down

0 comments on commit 8d8194d

Please sign in to comment.