Package Details: golangci-lint 1.40.1-1

Git Clone URL: (read-only, click to copy)
Package Base: golangci-lint
Description: Linters Runner for Go. 5x faster than gometalinter.
Upstream URL:
Keywords: go golangci golangci-lint gometalinter lint linter
Licenses: GPL3
Submitter: matthias.lisin
Maintainer: matthias.lisin
Last Packager: matthias.lisin
Votes: 9
Popularity: 0.38
First Submitted: 2019-05-04 18:39
Last Updated: 2021-05-14 14:18

Latest Comments

1 2 Next › Last »

matthias.lisin commented on 2020-07-31 13:55

@graysky Looks like you might have CGO_ENABLED=0 set in your environment. Pushed an update, should work now.

graysky commented on 2020-07-31 09:47

Unable to build in a clean build root. full log:

matthias.lisin commented on 2020-07-07 20:01

@muesli Weird. I really thought we found the issue last time. Guess not.

I don't have much time right now, so no check as quickfix.

muesli commented on 2020-07-07 19:53

Latest release fails building during the tests, looking for sources in a golangci-lint-1.28.0 dir (the previous release's version).

matthias.lisin commented on 2020-05-01 18:22

@muesli nice, thanks for info. let's see if it breaks with next release

muesli commented on 2020-05-01 17:27

@matthias.lisin: still builds fine with yay here, nice job!

matthias.lisin commented on 2020-05-01 17:18

I'm now only unsetting CGO_CFLAGS when running tests as I think this is the cause of broken tests.

Dear yay users and other ~/.cache-makepkgers, please let me know if the tests fail once again.

greut commented on 2020-04-29 05:22

@matthias.lisin it's all good on my side now. Thanks a lot!

matthias.lisin commented on 2020-04-28 23:09

It's late and I'm tired, so no deep analysis what's going on there. But mostly because I can't reproduce it.

I suspect that the caches of yay and the Go tests collide. So I forced the test cache to something else.

Let me know if this works. Also, keep your caches clean.

muesli commented on 2020-04-28 20:06

Noteworthy: even tho this installs 1.25.1, the tests try to open testdata in a 1.25.0 path:

Can't run linter govet: cgocall: can't parse raw cgo file: open /home/muesli/.cache/yay/golangci-lint/src/golangci-lint-1.25.0/test/testdata/cgo_with_issues/main.go: no such file or directory