Skip to content

Commit 8316b03

Browse files
fix(deps): update dependency com.squareup:kotlinpoet to v2 (#1690)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.squareup:kotlinpoet](https://redirect.github.com/square/kotlinpoet) | `1.18.1` -> `2.0.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.squareup:kotlinpoet/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.squareup:kotlinpoet/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.squareup:kotlinpoet/1.18.1/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.squareup:kotlinpoet/1.18.1/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>square/kotlinpoet (com.squareup:kotlinpoet)</summary> ### [`v2.0.0`](https://redirect.github.com/square/kotlinpoet/compare/1.18.1...2.0.0) [Compare Source](https://redirect.github.com/square/kotlinpoet/compare/1.18.1...2.0.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/typesafegithub/github-workflows-kt). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Piotr Krzeminski <[email protected]>
1 parent 7a3217e commit 8316b03

File tree

15 files changed

+63
-136
lines changed

15 files changed

+63
-136
lines changed

action-binding-generator/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ group = rootProject.group
1212
version = rootProject.version
1313

1414
dependencies {
15-
implementation("com.squareup:kotlinpoet:1.18.1")
15+
implementation("com.squareup:kotlinpoet:2.0.0")
1616
implementation("it.krzeminski:snakeyaml-engine-kmp:3.0.2")
1717
implementation("com.charleskorn.kaml:kaml:0.61.0")
1818
implementation(projects.sharedInternal)

action-binding-generator/src/main/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/generation/Generation.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,13 +351,13 @@ private fun Metadata.linkedMapOfInputs(
351351
val propertyName = key.toCamelCase()
352352
if (!untypedClass && inputTypings.containsKey(key)) {
353353
val asStringCode = inputTypings.getInputTyping(key).asString()
354-
add("%N?.let { %S·to·it$asStringCode },\n", propertyName, key)
354+
add("%N?.let { %S to it$asStringCode },\n", propertyName, key)
355355
}
356356
val asStringCode = null.getInputTyping(key).asString()
357357
if (value.shouldBeRequiredInBinding() && !value.shouldBeNullable(untypedClass, inputTypings.containsKey(key))) {
358-
add("%S·to·%N$asStringCode,\n", key, "${propertyName}_Untyped")
358+
add("%S to %N$asStringCode,\n", key, "${propertyName}_Untyped")
359359
} else {
360-
add("%N?.let { %S·to·it$asStringCode },\n", "${propertyName}_Untyped", key)
360+
add("%N?.let { %S to it$asStringCode },\n", "${propertyName}_Untyped", key)
361361
}
362362
}
363363
add("*$CUSTOM_INPUTS.%M().%M(),\n", Types.mapToList, Types.listToArray)

action-binding-generator/src/test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/bindingsfromunittests/ActionWithAllTypesOfInputs.kt

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,8 @@ import kotlin.collections.toTypedArray
5454
* @param listEnums_Untyped List of enums
5555
* @param listIntSpecial List of integer with special values
5656
* @param listIntSpecial_Untyped List of integer with special values
57-
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by
58-
* the binding
59-
* @param _customVersion Allows overriding action's version, for example to use a specific minor
60-
* version, or a newer version that the binding doesn't yet know about
57+
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by the binding
58+
* @param _customVersion Allows overriding action's version, for example to use a specific minor version, or a newer version that the binding doesn't yet know about
6159
*/
6260
@ExposedCopyVisibility
6361
public data class ActionWithAllTypesOfInputs private constructor(
@@ -162,12 +160,10 @@ public data class ActionWithAllTypesOfInputs private constructor(
162160
*/
163161
public val _customInputs: Map<String, String> = mapOf(),
164162
/**
165-
* Allows overriding action's version, for example to use a specific minor version, or a newer
166-
* version that the binding doesn't yet know about
163+
* Allows overriding action's version, for example to use a specific minor version, or a newer version that the binding doesn't yet know about
167164
*/
168165
public val _customVersion: String? = null,
169-
) : RegularAction<ActionWithAllTypesOfInputs.Outputs>("john-smith",
170-
"action-with-all-types-of-inputs", _customVersion ?: "v3") {
166+
) : RegularAction<ActionWithAllTypesOfInputs.Outputs>("john-smith", "action-with-all-types-of-inputs", _customVersion ?: "v3") {
171167
init {
172168
require(!((fooBar != null) && (fooBar_Untyped != null))) {
173169
"Only fooBar or fooBar_Untyped must be set, but not both"
@@ -267,15 +263,7 @@ public data class ActionWithAllTypesOfInputs private constructor(
267263
listIntSpecial_Untyped: String? = null,
268264
_customInputs: Map<String, String> = mapOf(),
269265
_customVersion: String? = null,
270-
) : this(fooBar = fooBar, fooBar_Untyped = fooBar_Untyped, bazGoo = bazGoo, bazGoo_Untyped =
271-
bazGoo_Untyped, binKin = binKin, binKin_Untyped = binKin_Untyped, intPint = intPint,
272-
intPint_Untyped = intPint_Untyped, floPint = floPint, floPint_Untyped = floPint_Untyped,
273-
finBin = finBin, finBin_Untyped = finBin_Untyped, gooZen = gooZen, gooZen_Untyped =
274-
gooZen_Untyped, bahEnum = bahEnum, bahEnum_Untyped = bahEnum_Untyped, listStrings =
275-
listStrings, listStrings_Untyped = listStrings_Untyped, listInts = listInts,
276-
listInts_Untyped = listInts_Untyped, listEnums = listEnums, listEnums_Untyped =
277-
listEnums_Untyped, listIntSpecial = listIntSpecial, listIntSpecial_Untyped =
278-
listIntSpecial_Untyped, _customInputs = _customInputs, _customVersion = _customVersion)
266+
) : this(fooBar = fooBar, fooBar_Untyped = fooBar_Untyped, bazGoo = bazGoo, bazGoo_Untyped = bazGoo_Untyped, binKin = binKin, binKin_Untyped = binKin_Untyped, intPint = intPint, intPint_Untyped = intPint_Untyped, floPint = floPint, floPint_Untyped = floPint_Untyped, finBin = finBin, finBin_Untyped = finBin_Untyped, gooZen = gooZen, gooZen_Untyped = gooZen_Untyped, bahEnum = bahEnum, bahEnum_Untyped = bahEnum_Untyped, listStrings = listStrings, listStrings_Untyped = listStrings_Untyped, listInts = listInts, listInts_Untyped = listInts_Untyped, listEnums = listEnums, listEnums_Untyped = listEnums_Untyped, listIntSpecial = listIntSpecial, listIntSpecial_Untyped = listIntSpecial_Untyped, _customInputs = _customInputs, _customVersion = _customVersion)
279267

280268
@Suppress("SpreadOperator")
281269
override fun toYamlArguments(): LinkedHashMap<String, String> = linkedMapOf(
@@ -302,8 +290,7 @@ public data class ActionWithAllTypesOfInputs private constructor(
302290
listInts_Untyped?.let { "list-ints" to it },
303291
listEnums?.let { "list-enums" to it.joinToString(",") { it.stringValue } },
304292
listEnums_Untyped?.let { "list-enums" to it },
305-
listIntSpecial?.let { "list-int-special" to it.joinToString(",") {
306-
it.integerValue.toString() } },
293+
listIntSpecial?.let { "list-int-special" to it.joinToString(",") { it.integerValue.toString() } },
307294
listIntSpecial_Untyped?.let { "list-int-special" to it },
308295
*_customInputs.toList().toTypedArray(),
309296
).toTypedArray()

action-binding-generator/src/test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/bindingsfromunittests/ActionWithAllTypesOfInputs_Untyped.kt

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,8 @@ import kotlin.collections.toTypedArray
5959
* @param listInts_Untyped List of integers
6060
* @param listEnums_Untyped List of enums
6161
* @param listIntSpecial_Untyped List of integer with special values
62-
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by
63-
* the binding
64-
* @param _customVersion Allows overriding action's version, for example to use a specific minor
65-
* version, or a newer version that the binding doesn't yet know about
62+
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by the binding
63+
* @param _customVersion Allows overriding action's version, for example to use a specific minor version, or a newer version that the binding doesn't yet know about
6664
*/
6765
@Deprecated(
6866
"Use the typed class instead",
@@ -123,12 +121,10 @@ public data class ActionWithAllTypesOfInputs_Untyped private constructor(
123121
*/
124122
public val _customInputs: Map<String, String> = mapOf(),
125123
/**
126-
* Allows overriding action's version, for example to use a specific minor version, or a newer
127-
* version that the binding doesn't yet know about
124+
* Allows overriding action's version, for example to use a specific minor version, or a newer version that the binding doesn't yet know about
128125
*/
129126
public val _customVersion: String? = null,
130-
) : RegularAction<ActionWithAllTypesOfInputs_Untyped.Outputs>("john-smith",
131-
"action-with-all-types-of-inputs", _customVersion ?: "v3") {
127+
) : RegularAction<ActionWithAllTypesOfInputs_Untyped.Outputs>("john-smith", "action-with-all-types-of-inputs", _customVersion ?: "v3") {
132128
public constructor(
133129
vararg pleaseUseNamedArguments: Unit,
134130
fooBar_Untyped: String,
@@ -145,12 +141,7 @@ public data class ActionWithAllTypesOfInputs_Untyped private constructor(
145141
listIntSpecial_Untyped: String? = null,
146142
_customInputs: Map<String, String> = mapOf(),
147143
_customVersion: String? = null,
148-
) : this(fooBar_Untyped = fooBar_Untyped, bazGoo_Untyped = bazGoo_Untyped, binKin_Untyped =
149-
binKin_Untyped, intPint_Untyped = intPint_Untyped, floPint_Untyped = floPint_Untyped,
150-
finBin_Untyped = finBin_Untyped, gooZen_Untyped = gooZen_Untyped, bahEnum_Untyped =
151-
bahEnum_Untyped, listStrings_Untyped = listStrings_Untyped, listInts_Untyped =
152-
listInts_Untyped, listEnums_Untyped = listEnums_Untyped, listIntSpecial_Untyped =
153-
listIntSpecial_Untyped, _customInputs = _customInputs, _customVersion = _customVersion)
144+
) : this(fooBar_Untyped = fooBar_Untyped, bazGoo_Untyped = bazGoo_Untyped, binKin_Untyped = binKin_Untyped, intPint_Untyped = intPint_Untyped, floPint_Untyped = floPint_Untyped, finBin_Untyped = finBin_Untyped, gooZen_Untyped = gooZen_Untyped, bahEnum_Untyped = bahEnum_Untyped, listStrings_Untyped = listStrings_Untyped, listInts_Untyped = listInts_Untyped, listEnums_Untyped = listEnums_Untyped, listIntSpecial_Untyped = listIntSpecial_Untyped, _customInputs = _customInputs, _customVersion = _customVersion)
154145

155146
@Suppress("SpreadOperator")
156147
override fun toYamlArguments(): LinkedHashMap<String, String> = linkedMapOf(

action-binding-generator/src/test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/bindingsfromunittests/ActionWithDeprecatedInputAndNameClash.kt

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,8 @@ import kotlin.collections.toTypedArray
2828
*
2929
* @param fooBar &lt;required&gt; Foo bar - new
3030
* @param fooBar_Untyped &lt;required&gt; Foo bar - new
31-
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by
32-
* the binding
33-
* @param _customVersion Allows overriding action's version, for example to use a specific minor
34-
* version, or a newer version that the binding doesn't yet know about
31+
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by the binding
32+
* @param _customVersion Allows overriding action's version, for example to use a specific minor version, or a newer version that the binding doesn't yet know about
3533
*/
3634
@ExposedCopyVisibility
3735
public data class ActionWithDeprecatedInputAndNameClash private constructor(
@@ -48,12 +46,10 @@ public data class ActionWithDeprecatedInputAndNameClash private constructor(
4846
*/
4947
public val _customInputs: Map<String, String> = mapOf(),
5048
/**
51-
* Allows overriding action's version, for example to use a specific minor version, or a newer
52-
* version that the binding doesn't yet know about
49+
* Allows overriding action's version, for example to use a specific minor version, or a newer version that the binding doesn't yet know about
5350
*/
5451
public val _customVersion: String? = null,
55-
) : RegularAction<Action.Outputs>("john-smith", "action-with-deprecated-input-and-name-clash",
56-
_customVersion ?: "v2") {
52+
) : RegularAction<Action.Outputs>("john-smith", "action-with-deprecated-input-and-name-clash", _customVersion ?: "v2") {
5753
init {
5854
require(!((fooBar != null) && (fooBar_Untyped != null))) {
5955
"Only fooBar or fooBar_Untyped must be set, but not both"
@@ -69,8 +65,7 @@ public data class ActionWithDeprecatedInputAndNameClash private constructor(
6965
fooBar_Untyped: String? = null,
7066
_customInputs: Map<String, String> = mapOf(),
7167
_customVersion: String? = null,
72-
) : this(fooBar = fooBar, fooBar_Untyped = fooBar_Untyped, _customInputs = _customInputs,
73-
_customVersion = _customVersion)
68+
) : this(fooBar = fooBar, fooBar_Untyped = fooBar_Untyped, _customInputs = _customInputs, _customVersion = _customVersion)
7469

7570
@Suppress("SpreadOperator")
7671
override fun toYamlArguments(): LinkedHashMap<String, String> = linkedMapOf(

action-binding-generator/src/test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/bindingsfromunittests/ActionWithFancyCharsInDocs.kt

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@ import kotlin.collections.toTypedArray
3030
* @param nestedKotlinComments_Untyped This is a /&#42; test &#42;/
3131
* @param percent For example "100%"
3232
* @param percent_Untyped For example "100%"
33-
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by
34-
* the binding
35-
* @param _customVersion Allows overriding action's version, for example to use a specific minor
36-
* version, or a newer version that the binding doesn't yet know about
33+
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by the binding
34+
* @param _customVersion Allows overriding action's version, for example to use a specific minor version, or a newer version that the binding doesn't yet know about
3735
*/
3836
@ExposedCopyVisibility
3937
public data class ActionWithFancyCharsInDocs private constructor(
@@ -58,12 +56,10 @@ public data class ActionWithFancyCharsInDocs private constructor(
5856
*/
5957
public val _customInputs: Map<String, String> = mapOf(),
6058
/**
61-
* Allows overriding action's version, for example to use a specific minor version, or a newer
62-
* version that the binding doesn't yet know about
59+
* Allows overriding action's version, for example to use a specific minor version, or a newer version that the binding doesn't yet know about
6360
*/
6461
public val _customVersion: String? = null,
65-
) : RegularAction<Action.Outputs>("john-smith", "action-with-fancy-chars-in-docs", _customVersion ?:
66-
"v3") {
62+
) : RegularAction<Action.Outputs>("john-smith", "action-with-fancy-chars-in-docs", _customVersion ?: "v3") {
6763
init {
6864
require(!((nestedKotlinComments != null) && (nestedKotlinComments_Untyped != null))) {
6965
"Only nestedKotlinComments or nestedKotlinComments_Untyped must be set, but not both"
@@ -82,9 +78,7 @@ public data class ActionWithFancyCharsInDocs private constructor(
8278
percent_Untyped: String? = null,
8379
_customInputs: Map<String, String> = mapOf(),
8480
_customVersion: String? = null,
85-
) : this(nestedKotlinComments = nestedKotlinComments, nestedKotlinComments_Untyped =
86-
nestedKotlinComments_Untyped, percent = percent, percent_Untyped = percent_Untyped,
87-
_customInputs = _customInputs, _customVersion = _customVersion)
81+
) : this(nestedKotlinComments = nestedKotlinComments, nestedKotlinComments_Untyped = nestedKotlinComments_Untyped, percent = percent, percent_Untyped = percent_Untyped, _customInputs = _customInputs, _customVersion = _customVersion)
8882

8983
@Suppress("SpreadOperator")
9084
override fun toYamlArguments(): LinkedHashMap<String, String> = linkedMapOf(

action-binding-generator/src/test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/bindingsfromunittests/ActionWithInputsSharingType.kt

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@ import kotlin.collections.toTypedArray
3131
* @param fooOne_Untyped &lt;required&gt;
3232
* @param fooTwo &lt;required&gt;
3333
* @param fooTwo_Untyped &lt;required&gt;
34-
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by
35-
* the binding
36-
* @param _customVersion Allows overriding action's version, for example to use a specific minor
37-
* version, or a newer version that the binding doesn't yet know about
34+
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by the binding
35+
* @param _customVersion Allows overriding action's version, for example to use a specific minor version, or a newer version that the binding doesn't yet know about
3836
*/
3937
@ExposedCopyVisibility
4038
public data class ActionWithInputsSharingType private constructor(
@@ -61,12 +59,10 @@ public data class ActionWithInputsSharingType private constructor(
6159
*/
6260
public val _customInputs: Map<String, String> = mapOf(),
6361
/**
64-
* Allows overriding action's version, for example to use a specific minor version, or a newer
65-
* version that the binding doesn't yet know about
62+
* Allows overriding action's version, for example to use a specific minor version, or a newer version that the binding doesn't yet know about
6663
*/
6764
public val _customVersion: String? = null,
68-
) : RegularAction<Action.Outputs>("john-smith", "action-with-inputs-sharing-type", _customVersion ?:
69-
"v3") {
65+
) : RegularAction<Action.Outputs>("john-smith", "action-with-inputs-sharing-type", _customVersion ?: "v3") {
7066
init {
7167
require(!((fooOne != null) && (fooOne_Untyped != null))) {
7268
"Only fooOne or fooOne_Untyped must be set, but not both"
@@ -97,9 +93,7 @@ public data class ActionWithInputsSharingType private constructor(
9793
fooThree_Untyped: String? = null,
9894
_customInputs: Map<String, String> = mapOf(),
9995
_customVersion: String? = null,
100-
) : this(fooOne = fooOne, fooOne_Untyped = fooOne_Untyped, fooTwo = fooTwo, fooTwo_Untyped =
101-
fooTwo_Untyped, fooThree = fooThree, fooThree_Untyped = fooThree_Untyped, _customInputs
102-
= _customInputs, _customVersion = _customVersion)
96+
) : this(fooOne = fooOne, fooOne_Untyped = fooOne_Untyped, fooTwo = fooTwo, fooTwo_Untyped = fooTwo_Untyped, fooThree = fooThree, fooThree_Untyped = fooThree_Untyped, _customInputs = _customInputs, _customVersion = _customVersion)
10397

10498
@Suppress("SpreadOperator")
10599
override fun toYamlArguments(): LinkedHashMap<String, String> = linkedMapOf(

action-binding-generator/src/test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/bindingsfromunittests/ActionWithNoInputs.kt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ import kotlin.collections.Map
2424
*
2525
* [Action on GitHub](https://github.com/john-smith/action-with-no-inputs)
2626
*
27-
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by
28-
* the binding
29-
* @param _customVersion Allows overriding action's version, for example to use a specific minor
30-
* version, or a newer version that the binding doesn't yet know about
27+
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by the binding
28+
* @param _customVersion Allows overriding action's version, for example to use a specific minor version, or a newer version that the binding doesn't yet know about
3129
*/
3230
@ExposedCopyVisibility
3331
public data class ActionWithNoInputs private constructor(
@@ -36,8 +34,7 @@ public data class ActionWithNoInputs private constructor(
3634
*/
3735
public val _customInputs: Map<String, String> = mapOf(),
3836
/**
39-
* Allows overriding action's version, for example to use a specific minor version, or a newer
40-
* version that the binding doesn't yet know about
37+
* Allows overriding action's version, for example to use a specific minor version, or a newer version that the binding doesn't yet know about
4138
*/
4239
public val _customVersion: String? = null,
4340
) : RegularAction<Action.Outputs>("john-smith", "action-with-no-inputs", _customVersion ?: "v3") {

action-binding-generator/src/test/kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/bindingsfromunittests/ActionWithNoTypings_Untyped.kt

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,8 @@ import kotlin.collections.toTypedArray
4646
*
4747
* [Action on GitHub](https://github.com/john-smith/action-with-no-typings)
4848
*
49-
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by
50-
* the binding
51-
* @param _customVersion Allows overriding action's version, for example to use a specific minor
52-
* version, or a newer version that the binding doesn't yet know about
49+
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by the binding
50+
* @param _customVersion Allows overriding action's version, for example to use a specific minor version, or a newer version that the binding doesn't yet know about
5351
*/
5452
@ExposedCopyVisibility
5553
public data class ActionWithNoTypings_Untyped private constructor(
@@ -60,8 +58,7 @@ public data class ActionWithNoTypings_Untyped private constructor(
6058
*/
6159
public val _customInputs: Map<String, String> = mapOf(),
6260
/**
63-
* Allows overriding action's version, for example to use a specific minor version, or a newer
64-
* version that the binding doesn't yet know about
61+
* Allows overriding action's version, for example to use a specific minor version, or a newer version that the binding doesn't yet know about
6562
*/
6663
public val _customVersion: String? = null,
6764
) : RegularAction<Action.Outputs>("john-smith", "action-with-no-typings", _customVersion ?: "v3") {
@@ -71,8 +68,7 @@ public data class ActionWithNoTypings_Untyped private constructor(
7168
bar_Untyped: String? = null,
7269
_customInputs: Map<String, String> = mapOf(),
7370
_customVersion: String? = null,
74-
) : this(foo_Untyped = foo_Untyped, bar_Untyped = bar_Untyped, _customInputs = _customInputs,
75-
_customVersion = _customVersion)
71+
) : this(foo_Untyped = foo_Untyped, bar_Untyped = bar_Untyped, _customInputs = _customInputs, _customVersion = _customVersion)
7672

7773
@Suppress("SpreadOperator")
7874
override fun toYamlArguments(): LinkedHashMap<String, String> = linkedMapOf(

0 commit comments

Comments
 (0)