We recently released v3 of julia-actions/setup-julia, which is a GitHub Action that installs Julia for use in your GitHub Actions CI jobs. I want to talk a bit about the tags on that repo. This discussion only affects the latest tag and tags of the form vX.Y (e.g. v2.7). If you don’t use those tags, you can skip the rest of this post.
Changes
In the past (for setup-julia v1 and v2), we maintained a tag called latest, which pointed to the absolute latest version of setup-julia. Going forward, for setup-julia v3 and later, we will no longer update the latest tag. So you should stop using the latest tag going forward.
In the past (for setup-julia v1 and v2), we would maintain tags of the form vX.Y (e.g. v2.7). Going forward, for setup-julia v3 and later, we will not be creating tags of the form vX.Y. So you should stop using the vX.Y tags going forward.
Recommendation
We recommend[1] that most people pin setup-julia to the full-length commit hash, for example:
- uses: julia-actions/setup-julia@f6f565d9f7cf12f53dc8045742460d6260ad3b39 # v3.0.1
And then use Dependabot (or a similar tool, such as Renovate) to keep those commit hashes up-to-date.
But if you don’t want to use a full-length commit hash, you can instead use the v3 convenience tag, for example:
- uses: julia-actions/setup-julia@v3