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

Installable via go install github.com/nektos/act ? #153

Closed
ydnar opened this issue Mar 13, 2020 · 3 comments
Closed

Installable via go install github.com/nektos/act ? #153

ydnar opened this issue Mar 13, 2020 · 3 comments
Labels
kind/question Further information is requested meta/invalid This doesn't seem right stale

Comments

@ydnar
Copy link

ydnar commented Mar 13, 2020

I tried to add act to our monorepo’s tools.go file and when installing, I got this error:

❯ go generate --tags tools ./internal/tools
go: finding module for package github.com/Sirupsen/logrus
go: found github.com/Sirupsen/logrus in github.com/Sirupsen/logrus v1.4.2
go: alta.software/p1/internal/tools imports
	github.com/nektos/act imports
	github.com/nektos/act/cmd imports
	github.com/nektos/act/pkg/runner imports
	github.com/nektos/act/pkg/container imports
	github.com/docker/docker/pkg/archive imports
	github.com/Sirupsen/logrus: github.com/Sirupsen/[email protected]: parsing go.mod:
	module declares its path as: github.com/sirupsen/logrus
	        but was required as: github.com/Sirupsen/logrus
@cplee
Copy link
Contributor

cplee commented Mar 14, 2020

@ydnar - where is the Sirupsen (with upper-case S) coming from? That is the old invalid name for that logging framework.

For history, see here: sirupsen/logrus#570 (comment)

@cplee cplee added kind/question Further information is requested meta/invalid This doesn't seem right labels Mar 14, 2020
@ydnar ydnar changed the title Installable via go install github.com/nektos/act? Installable via go install github.com/nektos/act ? Mar 14, 2020
@ydnar
Copy link
Author

ydnar commented Mar 14, 2020

That’s a great question. Go says from docker/docker/pkg/archive but A) it was renamed, B) they fixed their vendored copy and C) that package isn’t module-aware.

Remapping via replace didn’t work either.

@github-actions
Copy link
Contributor

Issue is stale and will be closed in 7 days unless there is new activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Further information is requested meta/invalid This doesn't seem right stale
Projects
None yet
Development

No branches or pull requests

2 participants