Comments (6)
Hello, @szuecs! Thank you for creating this issue, we will investigate it further and see what can be done :)
from setup-go.
Hello everyone. For now I'm going to close the issue because the behaviour of the action was described in the comment. The toolcache directory is updated during new images rollout and you can use check-latest: true
to install Go from go-versions repository.
from setup-go.
hello @szuecs ,
This is expected behaviour. According to the README
The action will first check the local cache for a version match. If a version is not found locally ...
Checking for the other path versions would have unacceptably slowed down the builds. However, if it is critical to check setup-go for the most recent version, use the check-latest input.
Alternatively, it is possible to set the desired version with the go-version
input.
Did it help?
from setup-go.
@dsame the unexpected thing is the ttl. I would expect that either on change caches are invalidated or every time duration like every hour or every day.
My example showed 1.21 and recent version was 1.23 so there are weeks in between....
from setup-go.
Is there something we could do to help get go-versions updated more often? We see this with every release.
Example: actions/go-versions#94 is g2g but hasn't been merged yet.
from setup-go.
Is there anything we can do to help merge PR's to go-versions? At $day_job we've had build failures for a few hours while waiting on a merge to go-versions. go-versions also does not have an issue tracker, so that's why I'm replying here.
from setup-go.
Related Issues (20)
- Long post job cleanup HOT 8
- v4 cache attempt to write to non existent drive on windows HOT 13
- support: gotip HOT 6
- https://salla.sa/bero2030.com HOT 1
- Berroe8 HOT 1
- caches grow unbounded HOT 6
- ENOENT: no such file or directory, mkdir '/home/runner' in macos-latest HOT 3
- Use version from module and another version in matrix testing HOT 1
- 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 2
- 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
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.