Skip to content
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

[CI] fix issue with running scala-cli scripts #1752

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

pjfanning
Copy link
Contributor

@pjfanning pjfanning commented Jan 28, 2025

  • the CI action is not yet approved by ASF Infra team
  • The main fix is to have the license header in the generated script appear after the CLI directives for the scala version and imports.
  • fixes Java 11 compile issues in nightly build #1751

@pjfanning pjfanning marked this pull request as draft January 28, 2025 20:46
try to pin scala in scala-cli

more hacking

Update VerifyJDK9Classes.scala

Update verify-jdk9-classes.sh

update

revert some changes

Update nightly-builds.yml

Update nightly-builds.yml
@pjfanning pjfanning changed the title [CI] install Scala CLI using Github Action [CI] fix issue with running scala-cli scripts Jan 29, 2025
@pjfanning pjfanning marked this pull request as ready for review January 29, 2025 17:11
echo "Starting verification with Scala-CLI..."

for file in stream/target/scala-cli/*.sc; do
cat $file
Copy link
Member

Choose a reason for hiding this comment

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

is this a debugging leftover? should it remain in?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@raboof I think it is useful to have the generated script in the logs but if you think it best, I can remove this line,

Copy link
Member

Choose a reason for hiding this comment

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

if it's intentional it's fine by me

@pjfanning pjfanning merged commit 425b3f9 into apache:main Jan 29, 2025
9 checks passed
@pjfanning pjfanning deleted the scala-cli branch January 29, 2025 19:24
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.

Java 11 compile issues in nightly build
2 participants