drone-pre-commit/scripts/add_golangci_lint.sh

7 lines
163 B
Bash
Executable File

#! /bin/bash
set -ex
VERSION=v1.37.0
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "/usr/bin" "${VERSION}"