drone-pre-commit/scripts/add_golangci_lint.sh

7 lines
163 B
Bash
Raw Normal View History

2021-02-02 21:59:15 +00:00
#! /bin/bash
2021-02-02 23:42:48 +00:00
set -ex
2021-02-02 21:59:15 +00:00
2021-02-17 18:47:19 +00:00
VERSION=v1.37.0
2021-02-02 21:59:15 +00:00
2021-02-02 22:34:47 +00:00
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "/usr/bin" "${VERSION}"