Comments (3)
feel free to contact us if you have any issues!
from golangci.
Hi!
Sorry for bad error message no Go Files in
: it means that dependency wasn't loaded.
According to my logs, it looks like the command GO111MODULE=on go mod tidy
in prepare
section of .golangci.yml
breaks build.
We analyze without GO111MODULE=on
therefore if prepare
section isn't set we run GO111MODULE=on go mod vendor
to make a vendor
dir. In your case because of the custom prepare
section we didn't run GO111MODULE=on go mod vendor
and therefore couldn't load dependencies during analysis.
If you would like to run custom commands in prepare
then just add GO111MODULE=on go mod vendor
to them.
Also, you can remove skip-dirs
: it shouldn't help with this problem.
from golangci.
Thanks @jirfag . I've tried as suggested and didn't get any error.
from golangci.
Related Issues (20)
- Go modules and GOPATH HOT 3
- Error: failed to load program with go/packages HOT 6
- Exclude unstaged files HOT 1
- Github App: errors and warnings do not fail build HOT 3
- Service shutdown HOT 3
- golangci doesn't install none-go files in vendor when using go mod
- Analyze private repo using private Git submodule HOT 1
- how to set golangci working directory HOT 6
- Organization repository is not shown HOT 3
- golangci-lint 0.18 support HOT 5
- "Can't run golangci-lint: invalid output json, see build log", but no useful information in log HOT 4
- GolangCI is calling older versions of golangci-lint with --timeout option HOT 3
- /repos/github rarely works; returns "Server Error"
- Reports SA5008: duplicate struct tag error for valid use
- Lint error treated as success - but should be disastrous failure
- GolangCI PR check isn't completing: "Processing timeout" HOT 1
- Self host golangci Github bot? HOT 3
- configuration golangci-lint-version is not working
- --new not working HOT 2
- THIS REPO IS OUTDATED
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from golangci.