Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with version v1.15.0 and go modules #58

Open
smutel opened this issue Dec 4, 2020 · 0 comments
Open

Error with version v1.15.0 and go modules #58

smutel opened this issue Dec 4, 2020 · 0 comments

Comments

@smutel
Copy link

smutel commented Dec 4, 2020

Hello,

The action-golangci-lint worked correctly with version 1.14.1.
With version 1.15.0, I have the error message below and lint is no longer working:

Run reviewdog/action-golangci-lint@v1.15.0
  with:
    github_token: ***
    golangci_lint_flags: --config=.golangci.yml
    fail_on_error: true
    tool_name: golangci
    level: error
    reporter: github-pr-check
    filter_mode: added
    workdir: .
🐶 Installing reviewdog ... https://github.com/reviewdog/reviewdog
 Installing golangci-lint ... https://github.com/golangci/golangci-lint
 Running golangci-lint with reviewdog 🐶 ...
  level=error msg="Running error: context loading failed: failed to load packages: failed to load with go/packages: err: exit status 1: stderr: build flag -mod=vendor only valid when using modules\n"
  2021/01/01 20:49:27 [golangci] reported: https://github.com/smutel/terraform-provider-netbox/runs/1634636986 (conclusion=success)

Thanks.

@smutel smutel changed the title Help wanted: CI not failing when lint issues are found Error with version v1.15.0 and go modules Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant