Skip to content

Commit

Permalink
Update presubmit jobs to use make lint
Browse files Browse the repository at this point in the history
It would do the yaml check with the golangci-lint
  • Loading branch information
chmouel authored and tekton-robot committed Feb 12, 2020
1 parent 14b8f6c commit 218c181
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ignore: |
/vendor
.git

rules:
braces: enable
Expand Down
4 changes: 2 additions & 2 deletions test/presubmit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ function test_documentation_has_been_generated() {
}

function check_lint() {
header "Testing if golint has been done"
header "Testing if golint/yamllint has been done"

golangci-lint run ./... --timeout 5m
make lint

if [[ "$?" = "1" ]]; then
results_banner "Lint" 1
Expand Down

0 comments on commit 218c181

Please sign in to comment.