drone-pre-commit/scripts/add_golangci_lint.sh

6 lines
161 B
Bash
Executable File

#! /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}"