Improve CI permissions and fix Java for JRuby 10#1141
Closed
tagliala wants to merge 1 commit intoRubyMoney:mainfrom
Closed
Improve CI permissions and fix Java for JRuby 10#1141tagliala wants to merge 1 commit intoRubyMoney:mainfrom
tagliala wants to merge 1 commit intoRubyMoney:mainfrom
Conversation
1 task
Workflows run with extended set of permissions by default. By specifying any permission explicitly, all others are set to none. Ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions JRuby 10.0 Requires Java 21 but Java 17 was used. This is causing a spec to fail when `shared_context_metadata_behavior` is set to `:apply_to_host_groups`. From the CI logs: ``` Error: LinkageError occurred while loading main class org.jruby.Main java.lang.UnsupportedClassVersionError: org/jruby/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0 JRuby failed to start, try Java 21 envs ```
cd01bd4 to
bd40595
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Workflows run with extended set of permissions by default. By specifying any permission explicitly, all others are set to none.
Ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
JRuby 10.0 Requires Java 21 but Java 17 was used. This is causing a spec to fail when
shared_context_metadata_behavioris set to:apply_to_host_groups.From the CI logs: