drone-pre-commit/scripts/add_golangci_lint.sh

6 lines
161 B
Bash
Raw Normal View History

2021-02-02 21:59:15 +00:00
#! /bin/bash
VERSION=v1.35.2
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "/usr/local/bin" "${VERSION}"