[GH-ISSUE #1122] Issue: go install master fails #635

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

Originally created by @danhunsaker on GitHub (Apr 13, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1122

System information

  • Operating System: Linux (Pop!OS 21.10)
  • Architecture: x64 (64-bit)
  • Apple M1: no
  • Docker version: 20.10.13
  • Docker image used in act: n/a - issue happens before act can run
  • act version: master

Expected behaviour

$ go install github.com/nektos/act@master
go: downloading github.com/nektos/act v0.2.27-0.20220411025548-74cda72c2672
go: downloading [dependency] [version]...
$ which act
~/go/bin/act
$

Actual behaviour

$ go install github.com/nektos/act@master
go: downloading github.com/nektos/act v0.2.27-0.20220411025548-74cda72c2672
go install: github.com/nektos/act@master (in github.com/nektos/act@v0.2.27-0.20220411025548-74cda72c2672):
	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.
$ which act
$

Workflow and/or repository

N/A - install process, not workflow run

Steps to reproduce

See above in the Expected and Actual behaviour sections.

act output

N/A - install process, not workflow run

Originally created by @danhunsaker on GitHub (Apr 13, 2022). Original GitHub issue: https://github.com/nektos/act/issues/1122 ## System information - Operating System: Linux (Pop!OS 21.10) - Architecture: x64 (64-bit) - Apple M1: no - Docker version: 20.10.13 - Docker image used in `act`: n/a - issue happens before `act` can run - `act` version: master ## Expected behaviour ``` $ go install github.com/nektos/act@master go: downloading github.com/nektos/act v0.2.27-0.20220411025548-74cda72c2672 go: downloading [dependency] [version]... $ which act ~/go/bin/act $ ``` ## Actual behaviour ``` $ go install github.com/nektos/act@master go: downloading github.com/nektos/act v0.2.27-0.20220411025548-74cda72c2672 go install: github.com/nektos/act@master (in github.com/nektos/act@v0.2.27-0.20220411025548-74cda72c2672): 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. $ which act $ ``` ## Workflow and/or repository N/A - install process, not workflow run ## Steps to reproduce See above in the Expected and Actual behaviour sections. ## `act` output N/A - install process, not workflow run
kerem 2026-03-01 21:45:07 +03:00
  • closed this issue
  • added the
    kind/bug
    label
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#635
No description provided.