[GH-ISSUE #1593] Install via go install #796

Closed
opened 2026-03-01 21:46:28 +03:00 by kerem · 2 comments
Owner

Originally created by @guettli on GitHub (Feb 1, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1593

Act version

latest

Feature description

It would be great, if act could be installed via go install.

Up to now it fails:

❯ go install github.com/nektos/act@latest

go: downloading github.com/nektos/act v0.2.41
go: github.com/nektos/act@latest (in github.com/nektos/act@v0.2.41):
	The go.mod file for the module providing named packages contains one or
	more replace directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.
Originally created by @guettli on GitHub (Feb 1, 2023). Original GitHub issue: https://github.com/nektos/act/issues/1593 ### Act version latest ### Feature description It would be great, if `act` could be installed via `go install`. Up to now it fails: ``` ❯ go install github.com/nektos/act@latest go: downloading github.com/nektos/act v0.2.41 go: github.com/nektos/act@latest (in github.com/nektos/act@v0.2.41): The go.mod file for the module providing named packages contains one or more replace directives. It must not contain directives that would cause it to be interpreted differently than if it were the main module. ```
kerem 2026-03-01 21:46:28 +03:00
Author
Owner

@catthehacker commented on GitHub (Feb 1, 2023):

This is not possible since we use patched dependencies

<!-- gh-comment-id:1412712318 --> @catthehacker commented on GitHub (Feb 1, 2023): This is not possible since we use patched dependencies
Author
Owner

@iTrooz commented on GitHub (May 24, 2024):

Seems to work now ! Maybe you should consider talking about go install in https://github.com/nektos/act?tab=readme-ov-file#manually-building-from-source ?

<!-- gh-comment-id:2129903681 --> @iTrooz commented on GitHub (May 24, 2024): Seems to work now ! Maybe you should consider talking about `go install` in https://github.com/nektos/act?tab=readme-ov-file#manually-building-from-source ?
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#796
No description provided.