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 ...@@ -17,15 +17,15 @@ set -euo pipefail
exit_code=0 exit_code=0
if ! hash gometalinter 2>/dev/null ; then if ! hash gometalinter.v1 2>/dev/null ; then
go get github.com/alecthomas/gometalinter go get -u gopkg.in/alecthomas/gometalinter.v1
gometalinter --install gometalinter.v1 --install
fi fi
echo echo
echo "==> Running static validations <==" echo "==> Running static validations <=="
# Run linters that should return errors # Run linters that should return errors
gometalinter \ gometalinter.v1 \
--disable-all \ --disable-all \
--enable deadcode \ --enable deadcode \
--severity deadcode:error \ --severity deadcode:error \
...@@ -42,7 +42,7 @@ gometalinter \ ...@@ -42,7 +42,7 @@ gometalinter \
echo echo
echo "==> Running linters <==" echo "==> Running linters <=="
# Run linters that should return warnings # Run linters that should return warnings
gometalinter \ gometalinter.v1 \
--disable-all \ --disable-all \
--enable golint \ --enable golint \
--vendor \ --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