Skip to content

Commit 1df2ed3

Browse files
committed
Make linter simple and easy to read
1 parent 31db085 commit 1df2ed3

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/linter.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,4 @@ jobs:
3535

3636
- name: YAML linter
3737
run: |
38-
results=$(find . -type f -name "*.yaml" -o -name "*.yml" -exec yamllint {} \;)
39-
if [[ -n "$results" ]]; then
40-
echo "YAML files must be formatted with 'yamllint'. Please run 'yamllint' and commit the changes."
41-
echo "$results"
42-
exit 1
43-
fi
38+
yamllint --strict .

0 commit comments

Comments
 (0)