Commit 2c0af5ff authored by Adam Reese's avatar Adam Reese Committed by GitHub

Merge pull request #1550 from mattfarina/feat/gometalinter-versioned

feat(gometalinter): Move to versioned releases
parents bae4508d d2fa0396
......@@ -17,15 +17,15 @@ set -euo pipefail
exit_code=0
if ! hash gometalinter 2>/dev/null ; then
go get github.com/alecthomas/gometalinter
gometalinter --install
if ! hash gometalinter.v1 2>/dev/null ; then
go get -u gopkg.in/alecthomas/gometalinter.v1
gometalinter.v1 --install
fi
echo
echo "==> Running static validations <=="
# Run linters that should return errors
gometalinter \
gometalinter.v1 \
--disable-all \
--enable deadcode \
--severity deadcode:error \
......@@ -42,7 +42,7 @@ gometalinter \
echo
echo "==> Running linters <=="
# Run linters that should return warnings
gometalinter \
gometalinter.v1 \
--disable-all \
--enable golint \
--vendor \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment