-
-
Notifications
You must be signed in to change notification settings - Fork 4
feat: add a JSON schema including test infrastructure (#82) #243
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
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
settings.gradle.kts
Outdated
id("org.gradle.toolchains.foojay-resolver-convention") version ("0.9.0") | ||
} | ||
|
||
dependencyResolutionManagement { |
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.
Why do we need the changes in this file? It's related to the question "why adding the JS 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.
The foojay resolver convention plugin always makes sense if you use JVM toolchains which you also did before, otherwise you cannot (or will not be able to in the future) auto-provision the needed toolchains.
The repositories are for the JS part of KMP as I greatly dislike plugins to add repositories to projects as that opens much wider the doors to supply chain attacks, so disabled the repository adding and added the necessary ones here.
The version catalog is for the Kotlin Wrappers for the JS libs.
2807f69
to
2b9a99a
Compare
31c0ee8
to
b46ab15
Compare
b46ab15
to
2d2fb2f
Compare
2d2fb2f
to
970f1ed
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.
First pass...
src/jsTest/kotlin/it/krzeminski/githubactionstyping/JsonlintTest.kt
Outdated
Show resolved
Hide resolved
970f1ed
to
5fa5cd4
Compare
5fa5cd4
to
8283f10
Compare
738465e
to
2b02027
Compare
8283f10
to
e6a7c1f
Compare
e6a7c1f
to
607add1
Compare
For simplicity. Even though https://github.com/typesafegithub/github-actions-typing allows both extensions, it's good to be consistent in this repo and agree on a single extension. It lets us simplify the logic for using the typings from the catalog. In fact, in the server, we already read just `.yml`: https://github.com/typesafegithub/github-workflows-kt/blob/6349e0cda0bbca4e7b7364b006d0f53f5543bbe3/action-binding-generator/src/main/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/typing/TypesProviding.kt#L37-L39 Context: typesafegithub/github-actions-typing#243 (comment)
Fixes #82