Comments (7)
Hey @yousong We have an item open for this issue here: actions/runner#169
Note sure if it's because of redirection, but definitely it's not powershell. So likely the issue is different.
You can workaround it by separating out the multi-line step into individual steps, as it appears you have done in your repo!
I compacted all shell run steps into into a single one. Not spliting them into individual steps.
Note that the issue reported here is that 2nd and later shell run steps fail
from setup-go.
Hey @yousong , I apologize I misread your issue.
I forked your repo and was able to reproduce the issue!
The runner is actually throwing an error because the folder it expects to find is missing. If you change your line here to cp -r
instead of mv
the following steps should execute.
You can see my example here
That being said, if you don't need to use that directory for your workflow to work, you may want to consider using the current working directory to slightly speed up your actions!
from setup-go.
Tried v1 and v1.1.1, the issue persists
from setup-go.
Friendly ping
from setup-go.
Doesn't seem like a setup-go issue but @thboop can have a look.
from setup-go.
Hey @yousong We have an item open for this issue here: actions/runner#169
You can workaround it by separating out the multi-line step into individual steps, as it appears you have done in your repo!
from setup-go.
Hey @yousong , I apologize I misread your issue.
I forked your repo and was able to reproduce the issue!
The runner is actually throwing an error because the folder it expects to find is missing. If you change your line here to
cp -r
instead ofmv
the following steps should execute.You can see my example here
I see. It's working directory "not found" because I moved it to another place.
That being said, if you don't need to use that directory for your workflow to work, you may want to consider using the current working directory to slightly speed up your actions!
This is specific to the golang code and the container image in use here. The code needs to sit in $GOPATH
and we tend to set it to $HOME/go
. $GOPATH
has its own directory structure.
Anyway, thanks for your time and efforts. Appreciate it
Good day ;)
from setup-go.
Related Issues (20)
- Use version from module and another version in matrix testing HOT 2
- Allow for collapsing log output HOT 2
- go 1.22.0-rc.1 is not found HOT 2
- setup-go does not work on macos-14 (M1) HOT 6
- How to run tests with latest golang version HOT 9
- More specific handling/detection of Go toolchain versions HOT 3
- Inaccurate description of version in go.mod HOT 2
- Please upgrade `go-actions` to 1.21.8 / 1.22.1 HOT 3
- Signing key has expired HOT 2
- Node16 deprecated HOT 1
- Support custom distribution location override HOT 1
- Can't cache dependencies from a composite action HOT 9
- Intermittent failures downloading go HOT 1
- I HOT 3
- I HOT 1
- Failure of "Validate 'setup-go'" on macos-latest HOT 3
- Annotation matcher can not match column ranges HOT 4
- Dependencies file is not found. Supported file pattern: go.sum HOT 9
- [Bug] CGO_ENABLED on macos amd64 is not correct HOT 8
- Caching should use go.mod, not go.sum HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setup-go.