Skip to content

Commit

Permalink
Re-enable golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGreene authored and tekton-robot committed Jan 14, 2025
1 parent 055fb8f commit 79f7464
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/presubmit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@ source $(dirname $0)/../vendor/github.com/tektoncd/plumbing/scripts/presubmit-te
# - post_integration_tests : runs after the integration-test function
#

# function post_build_tests() {
# header "Testing if golint has been done"
# golangci-lint --color=never run
function post_build_tests() {
header "Testing if golint has been done"
golangci-lint --color=never run

# if [[ $? != 0 ]]; then
# results_banner "Go Lint" 1
# exit 1
# fi
if [[ $? != 0 ]]; then
results_banner "Go Lint" 1
exit 1
fi

# results_banner "Go Lint" 0
# }
results_banner "Go Lint" 0
}

function get_node() {
echo "Installing Node.js"
Expand Down

0 comments on commit 79f7464

Please sign in to comment.