Package Details: golangci-lint 2.0.2-1

Git Clone URL: https://aur.archlinux.org/golangci-lint.git (read-only, click to copy)
Package Base: golangci-lint
Description: Fast linters runner for Go.
Upstream URL: https://golangci.com
Keywords: go golangci golangci-lint gometalinter lint linter
Licenses: GPL-3.0
Conflicts: golangci-lint
Provides: golangci-lint
Submitter: matthias.lisin
Maintainer: ldez
Last Packager: ldez
Votes: 19
Popularity: 1.04
First Submitted: 2019-05-04 18:39 (UTC)
Last Updated: 2025-03-25 22:01 (UTC)

Latest Comments

« First ‹ Previous 1 2

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