Package Details: golangci-lint 1.27.0-1

Git Clone URL: https://aur.archlinux.org/golangci-lint.git (read-only, click to copy)
Package Base: golangci-lint
Description: Linters Runner for Go. 5x faster than gometalinter.
Upstream URL: https://github.com/golangci/golangci-lint
Keywords: go golangci golangci-lint gometalinter lint linter
Licenses: GPL3
Submitter: matthias.lisin
Maintainer: matthias.lisin
Last Packager: matthias.lisin
Votes: 6
Popularity: 0.80
First Submitted: 2019-05-04 18:39
Last Updated: 2020-05-14 01:14

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

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

muesli commented on 2020-04-28 20:06

Fails during tests for me as well:

--- FAIL: TestCgoOk (0.20s)

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

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

The build fails on TestCgoWithIssues