-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Only verify Jdk 9 classes on jdk 11. #1078
Conversation
ed51f6c
to
50074e8
Compare
50074e8
to
65a6bf0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one picky issue.
generateAndWriteScalaCLIScript( | ||
target, | ||
_ / "scala-cli" / "VerifyJDK9Classes.sc") | ||
generateAndWriteScalaCLIScript(target) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More readable!
exit 1 | ||
) | ||
chmod +x .github/workflows/verify-jdk9-classes.sh | ||
.github/workflows/verify-jdk9-classes.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.github/workflows/verify-jdk9-classes.sh | |
sh github/workflows/verify-jdk9-classes.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep it for now, otherwise I have to revaluation it.
|
||
echo "Starting verification with Scala-CLI..." | ||
|
||
for file in stream/target/scala-cli/*.sc; do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, has expandable capability.
Motivation:
Polish the script to test across all scala versions on JDK 11.
eg:
demo: https://github.com/apache/incubator-pekko/actions/runs/7694919153/job/20966708057?pr=1078