silverwind

Results 1218 comments of silverwind
trafficstars

It's not implemented yet it seems. My proposal from https://github.com/woodpecker-ci/woodpecker/issues/3762 is: > Support a option `WOODPECKER_AGENT_ENV_FILE` that works like [DRONE_RUNNER_ENV_FILE](https://docs.drone.io/runner/docker/configuration/reference/drone-runner-env-file/) which can be mounted into the agent which would make...

I don't know what `GOBIN` is, but `GOMODCACHE` (`go env GOMODCACHE` aka. `$GOPATH/pkg/mod`) is generally cachable and caching it would speed up any `go run tool@version` or `go install tool@version`...

I have been experimenting using https://github.com/actions/cache and got some good performance results by caching `GOCACHE` (build cache) and `GOMODCACHE` (modules cache) but I see it as a bit of risky...

> Even through I would love to have this feature build in into this action, I honestly think it's not the responsibility of this action to cache such things. >...

Here is what I have been experimenting with and it seemed to work. The cache key surely is too aggressive and GOVERSION and go.mod hash can likely be removed. ```yaml...

> But there is no standard way of describing the version of the program being installed Since go 1.16, you can use `go install module@version` and `go run module@version` to...

This is because Node.js 23 unflagged [`--experimental-require-module`](https://nodejs.org/api/modules.html#loading-ecmascript-modules-using-require) which causes the warning when ESM config files are loaded. Converting the config file to CJS is an option, but I don't recommend...

I'm not standing for TOC, but I'm happy to continue to contribute :)