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
VERSION=v1.35.2
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}"