Skip to content

Conversation

chenrui333
Copy link
Contributor

actions/runner#3600 (comment)


need a major version bump after the PR merge

Copy link
Member

@eregon eregon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR.
As discussed in #332 and other places though I don't want to bump the action's major version for this, in fact we did not for 12->16 and 16->20 and had no issues. And that saved every user using ruby/setup-ruby@v1 to have to update that line needlessly.

Comment on lines +6 to +8
"engines": {
"node": ">=24.0.0"
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this achieve? Force actually using node 24+?
I'm not sure of the value, besides finding that the lint job was using an older node.

Also IIRC there is some env var or config for runners to ignore the using: 'node24' directive, I don't necessarily want to prevent using that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just matches with node24 in action.yml (yeah, it would force the runner to be upgraded)

Also IIRC there is some env var or config for runners to ignore the using: 'node24' directive, I don't necessarily want to prevent using that.

I dont think I ever saw it before

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

technically this engine constraint should be there before too (but I guess setup-* actions are just adding this time)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to be ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION (actions/runner#1911).
I suspect this change will break if someone uses that to force running an older node.
But, we can try and easily revert it if necessary.

@chenrui333
Copy link
Contributor Author

And that saved every user using ruiby/setup-ruby@v1 to have to update that line needlessly.

but from the runner perspective, it is technically not compatible (this is semantics to help people upgrade the action runners, for projects using github hosted runners, it wont feel difference)

@eregon
Copy link
Member

eregon commented Sep 18, 2025

And that saved every user using ruby/setup-ruby@v1 to have to update that line needlessly.

but from the runner perspective, it is technically not compatible (this is semantics to help people upgrade the action runners, for projects using github hosted runners, it wont feel difference)

I assume self-hosted runners need to be kept up to date anyway for various reasons (e.g. otherwise some core github actions might no longer work, etc). So it seems no or little problem for them.
OTOH, asking to update every usage of ruby/setup-ruby@v1 (and that specific usage is meant to be good as-is forever) to ruby/setup-ruby@v2 is annoying lots of people for absolutely no valid reason (e.g. I do get annoyed when having to update actions/checkout and there is no actual breaking change for workflows so it's a pointless major version bump from the POV of users).

@eregon eregon merged commit 866b91c into ruby:master Sep 18, 2025
192 checks passed
@eregon
Copy link
Member

eregon commented Sep 20, 2025

Reverting this for now as it seems to cause issues for many self-hosted runners and I don't see a need to update yet, it can be done later, see #806 (comment).

mergify bot added a commit to robfrank/linklift that referenced this pull request Sep 24, 2025
Bumps the github-actions group with 2 updates: [graalvm/setup-graalvm](https://github.com/graalvm/setup-graalvm) and [ruby/setup-ruby](https://github.com/ruby/setup-ruby).
Updates `graalvm/setup-graalvm` from 1.3.6 to 1.3.7
Release notes

*Sourced from [graalvm/setup-graalvm's releases](https://github.com/graalvm/setup-graalvm/releases).*

> v1.3.7
> ------
>
> What's Changed
> --------------
>
> * Bump actions/checkout from 4 to 5 by [`@​dependabot`](https://github.com/dependabot)[bot] in [graalvm/setup-graalvm#179](https://redirect.github.com/graalvm/setup-graalvm/pull/179)
> * Bump the npm-development group across 1 directory with 9 updates by [`@​dependabot`](https://github.com/dependabot)[bot] in [graalvm/setup-graalvm#180](https://redirect.github.com/graalvm/setup-graalvm/pull/180)
> * Revise `dependabot.yml` and pin GitHub Actions. by [`@​fniephaus`](https://github.com/fniephaus) in [graalvm/setup-graalvm#181](https://redirect.github.com/graalvm/setup-graalvm/pull/181)
> * Test against GraalVM 25 and update `README.md`. by [`@​fniephaus`](https://github.com/fniephaus) in [graalvm/setup-graalvm#183](https://redirect.github.com/graalvm/setup-graalvm/pull/183)
>
> **Full Changelog**: <graalvm/setup-graalvm@v1...v1.3.7>


Commits

* [`aba6a07`](graalvm/setup-graalvm@aba6a07) Bump version to `1.3.7`.
* [`f4710e5`](graalvm/setup-graalvm@f4710e5) Update `README.md` for GraalVM 25.
* [`1513e54`](graalvm/setup-graalvm@1513e54) Test against GraalVM 25 and 26 EA builds.
* [`ba5bc86`](graalvm/setup-graalvm@ba5bc86) Pin GitHub Actions.
* [`2fea119`](graalvm/setup-graalvm@2fea119) Revise `dependabot.yml`.
* [`deee6c3`](graalvm/setup-graalvm@deee6c3) Address new eslint warning.
* [`eb8ac6d`](graalvm/setup-graalvm@eb8ac6d) Bump the npm-development group across 1 directory with 9 updates
* [`7e60c93`](graalvm/setup-graalvm@7e60c93) Bump actions/checkout from 4 to 5
* See full diff in [compare view](graalvm/setup-graalvm@7a1da54...aba6a07)
  
Updates `ruby/setup-ruby` from 1.257.0 to 1.262.0
Release notes

*Sourced from [ruby/setup-ruby's releases](https://github.com/ruby/setup-ruby/releases).*

> v1.262.0
> --------
>
> **Full Changelog**: <ruby/setup-ruby@v1.261.0...v1.262.0>
>
> v1.261.0
> --------
>
> What's Changed
> --------------
>
> * Update CRuby releases on Windows by [`@​ruby-builder-bot`](https://github.com/ruby-builder-bot) in [ruby/setup-ruby#809](https://redirect.github.com/ruby/setup-ruby/pull/809)
>
> **Full Changelog**: <ruby/setup-ruby@v1.260.0...v1.261.0>
>
> v1.260.0
> --------
>
> What's Changed
> --------------
>
> * Revert "feat: upgrade to node 24" by [`@​eregon`](https://github.com/eregon) in [ruby/setup-ruby#808](https://redirect.github.com/ruby/setup-ruby/pull/808)
> * Reinstate testing against jruby 9.4 and head by [`@​chadlwilson`](https://github.com/chadlwilson) in [ruby/setup-ruby#807](https://redirect.github.com/ruby/setup-ruby/pull/807)
>
> New Contributors
> ----------------
>
> * [`@​chadlwilson`](https://github.com/chadlwilson) made their first contribution in [ruby/setup-ruby#807](https://redirect.github.com/ruby/setup-ruby/pull/807)
>
> **Full Changelog**: <ruby/setup-ruby@v1.259.0...v1.260.0>
>
> v1.259.0
> --------
>
> What's Changed
> --------------
>
> * feat: upgrade to node 24 by [`@​chenrui333`](https://github.com/chenrui333) in [ruby/setup-ruby#804](https://redirect.github.com/ruby/setup-ruby/pull/804)
>
> **Full Changelog**: <ruby/setup-ruby@v1.258.0...v1.259.0>
>
> v1.258.0
> --------
>
> What's Changed
> --------------
>
> * Add ruby-3.4.6 by [`@​ruby-builder-bot`](https://github.com/ruby-builder-bot) in [ruby/setup-ruby#802](https://redirect.github.com/ruby/setup-ruby/pull/802)
> * Add truffleruby-25.0.0,truffleruby+graalvm-25.0.0 by [`@​ruby-builder-bot`](https://github.com/ruby-builder-bot) in [ruby/setup-ruby#803](https://redirect.github.com/ruby/setup-ruby/pull/803)
>
> **Full Changelog**: <ruby/setup-ruby@v1.257.0...v1.258.0>


Commits

* [`cf7216d`](ruby/setup-ruby@cf7216d) Use new releases of ruby-builder per engine-version
* [`1c58d16`](ruby/setup-ruby@1c58d16) Update CRuby releases on Windows
* [`1dc7956`](ruby/setup-ruby@1dc7956) Test on JRuby 9.4 as well as 10.0
* [`b8714f7`](ruby/setup-ruby@b8714f7) Revert "Skip test failing on JRuby on Windows"
* [`d3e13b3`](ruby/setup-ruby@d3e13b3) Revert "feat: upgrade to node 24"
* [`4df093a`](ruby/setup-ruby@4df093a) Revert "chore: add setup-node for lint job"
* [`866b91c`](ruby/setup-ruby@866b91c) chore: add setup-node for lint job
* [`c4cd38d`](ruby/setup-ruby@c4cd38d) feat: upgrade to node 24
* [`3fee676`](ruby/setup-ruby@3fee676) Add truffleruby-25.0.0,truffleruby+graalvm-25.0.0
* [`c61fbf1`](ruby/setup-ruby@c61fbf1) Add ruby-3.4.6
* See full diff in [compare view](ruby/setup-ruby@4451173...cf7216d)
  
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore  major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore  minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore  ` will remove the ignore condition of the specified dependency and ignore conditions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants