mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #987] Issue: Installation fails with "unknown revision v0.20.6" (for k8s.io/apiserver@v0.20.6) #580
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#580
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sschuberth on GitHub (Feb 9, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/987
System information
act: n/aactversion: latestExpected behaviour
Installation should succeed via
go install github.com/nektos/act@latest.Actual behaviour
Installation fails with
Workflow and/or repository
n/a
Steps to reproduce
See above.
actoutputn/a
@catthehacker commented on GitHub (Feb 9, 2022):
Can you show output of
go env?That revision still exists (https://github.com/kubernetes/apiserver/tree/v0.20.6) and I have no issues installing
act@sschuberth commented on GitHub (Feb 9, 2022):
Please see:
@sschuberth commented on GitHub (Feb 9, 2022):
This looks a bit suspicious, or? Sorry, I've close to no experience with Go.
@catthehacker commented on GitHub (Feb 9, 2022):
GOPROXY="https://proxy.golang.org,direct" GOSUMDB="sum.golang.org" go install github.com/nektos/act@latestshould work@catthehacker commented on GitHub (Feb 9, 2022):
Is there a reason why you won't use pre-built binaries?
@sschuberth commented on GitHub (Feb 9, 2022):
No, and that's what I did now as a fallback; but installing via Go seemed more natural to me as a developer.
@sschuberth commented on GitHub (Feb 9, 2022):
Mind giving me a hint what this does exactly / why it's necessary in my case?
@catthehacker commented on GitHub (Feb 9, 2022):
Some distributions remove default
GOPROXY/GOSUMDBbecause of privacy reasons, as Go services are hosted by Google.GOPROXY- hosts a copy of module repositories or proxies connection in case if it's not cachedGOSUMDB- records checksums for modules and in case something changed in the source of module, it will error on mismatch@sschuberth commented on GitHub (Feb 9, 2022):
Thanks. Do you think it's worth updating the official installation instructions with these settings? Or is this too much of an edge case?
@catthehacker commented on GitHub (Feb 9, 2022):
Instruction is meant for people who already deal with Go or have it installed (I use it to compare behaviour between versions and when developing). I would prefer to have
actpackaged in Fedora and it's derivatives otherwise.@catthehacker commented on GitHub (Feb 9, 2022):
https://copr.fedorainfracloud.org/coprs/goncalossilva/act/
ubuntu-latestto point toubuntu-20.04#1509