Coder Social home page Coder Social logo

Comments (6)

dusan-trickovic avatar dusan-trickovic commented on June 25, 2024 1

Hello, @szuecs! Thank you for creating this issue, we will investigate it further and see what can be done :)

from setup-go.

dmitry-shibanov avatar dmitry-shibanov commented on June 25, 2024 1

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.

dsame avatar dsame commented on June 25, 2024

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.

szuecs avatar szuecs commented on June 25, 2024

@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.

adamdecaf avatar adamdecaf commented on June 25, 2024

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.

adamdecaf avatar adamdecaf commented on June 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.