Package Details: golangci-lint 1.48.0-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: 12
Popularity: 0.054378
First Submitted: 2019-05-04 18:39 (UTC)
Last Updated: 2022-08-09 17:31 (UTC)

Latest Comments

pancho commented on 2022-03-18 22:01 (UTC) (edited on 2022-03-18 22:33 (UTC) by pancho)

Hi, @matthias.lisin.

Thanks a lot for this package!

I kindly request the addition of

./"$pkgname" completion fish | install -Dm644 /dev/stdin "$pkgdir"/usr/share/fish/vendor_completions.d/

to prepare(), so that fish users can benefit from this package's completion.

(Thanks also to @Idez, who packages golangci-lit-bin, for fixing my initial proposal!)

Thanks a lot!

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

@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 (UTC) (edited on 2020-07-31 09:51 (UTC) by graysky)

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

matthias.lisin commented on 2020-07-07 20:01 (UTC)

@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 (UTC)

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 (UTC)

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

muesli commented on 2020-05-01 17:27 (UTC)

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

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

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 (UTC)

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

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

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 (UTC)

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

muesli commented on 2020-04-28 20:06 (UTC)

Fails during tests for me as well:

--- FAIL: TestCgoOk (0.20s)

matthias.lisin commented on 2020-04-28 19:05 (UTC)

I couldn't reproduce this on 4 different machines. Neither with regular makepkg nor in clean chroot build.

greut commented on 2020-04-28 17:22 (UTC)

The build fails on TestCgoWithIssues