[GH-ISSUE #153] Installable via go install github.com/nektos/act ? #102

Closed
opened 2026-03-01 21:40:07 +03:00 by kerem · 3 comments
Owner

Originally created by @ydnar on GitHub (Mar 13, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/153

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/logrus@v1.4.2: parsing go.mod:
	module declares its path as: github.com/sirupsen/logrus
	        but was required as: github.com/Sirupsen/logrus
Originally created by @ydnar on GitHub (Mar 13, 2020). Original GitHub issue: https://github.com/nektos/act/issues/153 I tried to add `act` to our monorepo’s tools.go file and when installing, I got this error: ```sh ❯ 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/logrus@v1.4.2: parsing go.mod: module declares its path as: github.com/sirupsen/logrus but was required as: github.com/Sirupsen/logrus ```
kerem 2026-03-01 21:40:07 +03:00
Author
Owner

@cplee commented on GitHub (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: https://github.com/sirupsen/logrus/issues/570#issuecomment-313933276

<!-- gh-comment-id:599021858 --> @cplee commented on GitHub (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: https://github.com/sirupsen/logrus/issues/570#issuecomment-313933276
Author
Owner

@ydnar commented on GitHub (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.

<!-- gh-comment-id:599070034 --> @ydnar commented on GitHub (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.
Author
Owner

@github-actions[bot] commented on GitHub (May 14, 2020):

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

<!-- gh-comment-id:628311221 --> @github-actions[bot] commented on GitHub (May 14, 2020): Issue is stale and will be closed in 7 days unless there is new activity
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#102
No description provided.