From 79446bf0d6b16c4cdc1758364fcba56aad1d1a6f Mon Sep 17 00:00:00 2001 From: ml Date: Wed, 29 Apr 2020 03:36:51 +0200 Subject: [PATCH] upgpkg: golangci-lint 1.25.1-4 Another one --- .SRCINFO | 2 +- PKGBUILD | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 8392566..755af47 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = golangci-lint pkgdesc = Linters Runner for Go. 5x faster than gometalinter. pkgver = 1.25.1 - pkgrel = 3 + pkgrel = 4 url = https://github.com/golangci/golangci-lint arch = x86_64 arch = i686 diff --git a/PKGBUILD b/PKGBUILD index 3e6cd9c..06ab81c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=golangci-lint pkgdesc="Linters Runner for Go. 5x faster than gometalinter." pkgver=1.25.1 -pkgrel=3 +pkgrel=4 arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h') url='https://github.com/golangci/golangci-lint' license=('GPL3') @@ -31,10 +31,12 @@ build() { } check() { + env | sort + exit 1 cd "${pkgname}-${pkgver}" # some tests build the binary and overwrite our build chmod 555 "$pkgname" # canary - GOLANGCI_LINT_INSTALLED=true go test -a -short ./... + GOLANGCI_LINT_INSTALLED=true go test ./... } package() {