mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1617] When using actions/setup-go, ^1.19 matches 1.19 on Github but 1.20 with act #809
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#809
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 @pmalek on GitHub (Feb 7, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1617
Bug report info
Command used with act
Describe issue
Pretty much as the titles says.
Link to GitHub repository
No response
Workflow content
Relevant log output
@ChristopherHX commented on GitHub (Feb 7, 2023):
This is how
actions/setup-goworks, act doesn't alter it's behavior.If you don't want go
1.20then don't use^1.19as version parameter. The same thing happens on GitHub Hosted Runners, maybe it takes some days for it to happen after a new go version is released.@pmalek commented on GitHub (Feb 7, 2023):
Hm, I might have been mistaken by the fact that I got 1.19.5 on some hosted runners 🤔 That might be the propagation delay?
I can see 1.19.5 being used consistently on Github CI for the last couple of days 🤔
@ChristopherHX commented on GitHub (Feb 7, 2023):
You can look at my
^1.16setup-go step, it also installed go 1.19.5 and not 1.16.x https://github.com/ChristopherHX/github-act-runner/actions/runs/4016272900/jobs/6899077526#step:3:11.Based on the hosted runner log, toolcache is checked first without downloading 1.20 if it has not been requested.