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

Upgrade to k2, remove Kotlin/js #172

Merged
merged 6 commits into from
Aug 16, 2024
Merged

Conversation

Daoortor
Copy link
Collaborator

No description provided.

@Daoortor Daoortor requested review from GirZ0n, nbirillo and mikrise2 and removed request for GirZ0n July 25, 2024 19:53
Copy link
Collaborator

@mikrise2 mikrise2 left a comment

Choose a reason for hiding this comment

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

Good job!
Please also fix workflows files as I wrote here

build.gradle.kts Outdated Show resolved Hide resolved
.github/workflows/qodana.yml Outdated Show resolved Hide resolved
@Daoortor Daoortor force-pushed the k2 branch 3 times, most recently from b8a4c71 to 7db40b1 Compare July 31, 2024 22:41
@Daoortor
Copy link
Collaborator Author

Daoortor commented Jul 31, 2024

Apparently, Qodana build fails now because the QODANA_TOKEN secret is not in the head repository. Probably the same with collections

@Daoortor Daoortor requested a review from mikrise2 July 31, 2024 22:56
Copy link
Contributor

@nbirillo nbirillo left a comment

Choose a reason for hiding this comment

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

As I can see you have not updated the resources in the servers with updated compiled front end, please do it to double check if everything is working. You need to build the frontend (yarn run build) and then run the serveResourcesTask task for the necessary project.

I will come back soon with a token for Qodana

@@ -18,5 +18,6 @@ class GameResultsService {
gameHistory.add(result)
}

fun getAllGameResults() = gameHistory.reversed()
// It's necessary to specify return type explicitly, so kotlin-reflect gets it right
fun getAllGameResults(): List<GameResult> = gameHistory.reversed()
Copy link
Contributor

Choose a reason for hiding this comment

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

What if the student does not explicitly specify the return type? I'd suggest adding a check that will handle this case in the tests, WDYT?

@Daoortor Daoortor force-pushed the k2 branch 5 times, most recently from aa7c778 to a1c17c3 Compare August 16, 2024 16:28
@Daoortor Daoortor changed the title Upgrade to k2, add Qodana, remove Kotlin/js Upgrade to k2, remove Kotlin/js Aug 16, 2024
@nbirillo nbirillo merged commit 99035a8 into jetbrains-academy:main Aug 16, 2024
1 check passed
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.

3 participants