Skip to content

Commit b2f988c

Browse files
committed
feat(actions): add madhead/intellij-http-client-action@v233
1 parent 43e49f4 commit b2f988c

File tree

6 files changed

+165
-4
lines changed

6 files changed

+165
-4
lines changed

actions/madhead/intellij-http-client-action/v233/action

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
395465a3297fcc764dd362db4628a193df869cbd

docs/supported-actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Click on a version to see the binding's code.
9696
* [setup-julia](https://github.com/julia-actions/setup-julia) - v1: [`SetupJuliaV1`](https://github.com/typesafegithub/github-workflows-kt/blob/v[[ version ]]/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/juliaactions/SetupJuliaV1.kt)
9797
* madhead
9898
* [check-gradle-version](https://github.com/madhead/check-gradle-version) - v1 ✅: [`CheckGradleVersionV1`](https://github.com/typesafegithub/github-workflows-kt/blob/v[[ version ]]/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/madhead/CheckGradleVersionV1.kt)
99-
* [intellij-http-client-action](https://github.com/madhead/intellij-http-client-action) - v0 ✅: [`IntellijHttpClientActionV0`](https://github.com/typesafegithub/github-workflows-kt/blob/v[[ version ]]/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/madhead/IntellijHttpClientActionV0.kt), v231 ✅: [`IntellijHttpClientActionV231`](https://github.com/typesafegithub/github-workflows-kt/blob/v[[ version ]]/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/madhead/IntellijHttpClientActionV231.kt)
99+
* [intellij-http-client-action](https://github.com/madhead/intellij-http-client-action) - v0 ✅: [`IntellijHttpClientActionV0`](https://github.com/typesafegithub/github-workflows-kt/blob/v[[ version ]]/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/madhead/IntellijHttpClientActionV0.kt), v231 ✅: [`IntellijHttpClientActionV231`](https://github.com/typesafegithub/github-workflows-kt/blob/v[[ version ]]/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/madhead/IntellijHttpClientActionV231.kt), v233 ✅: [`IntellijHttpClientActionV233`](https://github.com/typesafegithub/github-workflows-kt/blob/v[[ version ]]/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/madhead/IntellijHttpClientActionV233.kt)
100100
* [semver-utils](https://github.com/madhead/semver-utils) - v2 ✅: [`SemverUtilsV2`](https://github.com/typesafegithub/github-workflows-kt/blob/v[[ version ]]/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/madhead/SemverUtilsV2.kt), v3 ✅: [`SemverUtilsV3`](https://github.com/typesafegithub/github-workflows-kt/blob/v[[ version ]]/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/madhead/SemverUtilsV3.kt)
101101
* mi-kas
102102
* [kover-report](https://github.com/mi-kas/kover-report) - v1 ✅: [`KoverReportV1`](https://github.com/typesafegithub/github-workflows-kt/blob/v[[ version ]]/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/mikas/KoverReportV1.kt)
@@ -140,6 +140,6 @@ Click on a version to see the binding's code.
140140
Number of bindings available:
141141

142142
* counting by actions: 84
143-
* counting each version separately: 143
143+
* counting each version separately: 144
144144

145145
Actions [providing typings](https://github.com/typesafegithub/github-actions-typing/) (marked with ✅ on the above list): 18

github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/madhead/IntellijHttpClientActionV0.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ import kotlin.collections.toTypedArray
3131
* [Action on GitHub](https://github.com/madhead/intellij-http-client-action)
3232
*/
3333
@Deprecated(
34-
message = "This action has a newer major version: IntellijHttpClientActionV231",
35-
replaceWith = ReplaceWith("IntellijHttpClientActionV231"),
34+
message = "This action has a newer major version: IntellijHttpClientActionV233",
35+
replaceWith = ReplaceWith("IntellijHttpClientActionV233"),
3636
)
3737
public data class IntellijHttpClientActionV0 private constructor(
3838
/**

github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/madhead/IntellijHttpClientActionV231.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
@file:Suppress(
55
"DataClassPrivateConstructor",
66
"UNUSED_PARAMETER",
7+
"DEPRECATION",
78
)
89

910
package io.github.typesafegithub.workflows.actions.madhead
@@ -12,6 +13,7 @@ import io.github.typesafegithub.workflows.domain.actions.Action
1213
import io.github.typesafegithub.workflows.domain.actions.RegularAction
1314
import java.util.LinkedHashMap
1415
import kotlin.Boolean
16+
import kotlin.Deprecated
1517
import kotlin.Int
1618
import kotlin.String
1719
import kotlin.Suppress
@@ -28,6 +30,10 @@ import kotlin.collections.toTypedArray
2830
*
2931
* [Action on GitHub](https://github.com/madhead/intellij-http-client-action)
3032
*/
33+
@Deprecated(
34+
message = "This action has a newer major version: IntellijHttpClientActionV233",
35+
replaceWith = ReplaceWith("IntellijHttpClientActionV233"),
36+
)
3137
public data class IntellijHttpClientActionV231 private constructor(
3238
/**
3339
* HTTP file paths
Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
// This file was generated using action-binding-generator. Don't change it by hand, otherwise your
2+
// changes will be overwritten with the next binding code regeneration.
3+
// See https://github.com/typesafegithub/github-workflows-kt for more info.
4+
@file:Suppress(
5+
"DataClassPrivateConstructor",
6+
"UNUSED_PARAMETER",
7+
)
8+
9+
package io.github.typesafegithub.workflows.actions.madhead
10+
11+
import io.github.typesafegithub.workflows.domain.actions.Action
12+
import io.github.typesafegithub.workflows.domain.actions.RegularAction
13+
import java.util.LinkedHashMap
14+
import kotlin.Boolean
15+
import kotlin.Int
16+
import kotlin.String
17+
import kotlin.Suppress
18+
import kotlin.Unit
19+
import kotlin.collections.List
20+
import kotlin.collections.Map
21+
import kotlin.collections.toList
22+
import kotlin.collections.toTypedArray
23+
24+
/**
25+
* Action: intellij-http-client-action
26+
*
27+
* IntelliJ HTTP Client CLI GitHub Action – Run Requests and Tests on CI
28+
*
29+
* [Action on GitHub](https://github.com/madhead/intellij-http-client-action)
30+
*/
31+
public data class IntellijHttpClientActionV233 private constructor(
32+
/**
33+
* HTTP file paths
34+
*/
35+
public val files: List<String>,
36+
/**
37+
* Number of milliseconds for socket read
38+
*/
39+
public val socketTimeout: Int? = null,
40+
/**
41+
* Number of milliseconds for connection
42+
*/
43+
public val connectTimeout: Int? = null,
44+
/**
45+
* Allow insecure SSL connections
46+
*/
47+
public val insecure: Boolean? = null,
48+
/**
49+
* Name of the environment in config file
50+
*/
51+
public val env: String? = null,
52+
/**
53+
* Name of the public environment file
54+
*/
55+
public val envFile: String? = null,
56+
/**
57+
* Public environment variables ('key=value')
58+
*/
59+
public val envVariables: List<String>? = null,
60+
/**
61+
* Name of the private environment file
62+
*/
63+
public val privateEnvFile: String? = null,
64+
/**
65+
* Private environment variables ('key=value')
66+
*/
67+
public val privateEnvVariables: List<String>? = null,
68+
/**
69+
* Proxy setting in format 'scheme://login:password@host:port'
70+
*/
71+
public val proxy: String? = null,
72+
/**
73+
* Enables Docker mode. Treat 'localhost' as 'host.docker.internal'
74+
*/
75+
public val dockerMode: Boolean? = null,
76+
/**
77+
* Logging level. One of 'BASIC' (default), 'HEADERS', or 'VERBOSE'
78+
*/
79+
public val logLevel: IntellijHttpClientActionV233.LogLevel? = null,
80+
/**
81+
* Creates report about execution in JUnit XML Format. Puts it in folder 'reports' in the
82+
* current directory
83+
*/
84+
public val report: Boolean? = null,
85+
/**
86+
* Type-unsafe map where you can put any inputs that are not yet supported by the binding
87+
*/
88+
public val _customInputs: Map<String, String> = mapOf(),
89+
/**
90+
* Allows overriding action's version, for example to use a specific minor version, or a newer
91+
* version that the binding doesn't yet know about
92+
*/
93+
public val _customVersion: String? = null,
94+
) : RegularAction<Action.Outputs>("madhead", "intellij-http-client-action", _customVersion ?:
95+
"v233") {
96+
public constructor(
97+
vararg pleaseUseNamedArguments: Unit,
98+
files: List<String>,
99+
socketTimeout: Int? = null,
100+
connectTimeout: Int? = null,
101+
insecure: Boolean? = null,
102+
env: String? = null,
103+
envFile: String? = null,
104+
envVariables: List<String>? = null,
105+
privateEnvFile: String? = null,
106+
privateEnvVariables: List<String>? = null,
107+
proxy: String? = null,
108+
dockerMode: Boolean? = null,
109+
logLevel: IntellijHttpClientActionV233.LogLevel? = null,
110+
report: Boolean? = null,
111+
_customInputs: Map<String, String> = mapOf(),
112+
_customVersion: String? = null,
113+
) : this(files=files, socketTimeout=socketTimeout, connectTimeout=connectTimeout,
114+
insecure=insecure, env=env, envFile=envFile, envVariables=envVariables,
115+
privateEnvFile=privateEnvFile, privateEnvVariables=privateEnvVariables, proxy=proxy,
116+
dockerMode=dockerMode, logLevel=logLevel, report=report, _customInputs=_customInputs,
117+
_customVersion=_customVersion)
118+
119+
@Suppress("SpreadOperator")
120+
override fun toYamlArguments(): LinkedHashMap<String, String> = linkedMapOf(
121+
*listOfNotNull(
122+
"files" to files.joinToString(" "),
123+
socketTimeout?.let { "socket_timeout" to it.toString() },
124+
connectTimeout?.let { "connect_timeout" to it.toString() },
125+
insecure?.let { "insecure" to it.toString() },
126+
env?.let { "env" to it },
127+
envFile?.let { "env_file" to it },
128+
envVariables?.let { "env_variables" to it.joinToString("\n") },
129+
privateEnvFile?.let { "private_env_file" to it },
130+
privateEnvVariables?.let { "private_env_variables" to it.joinToString("\n") },
131+
proxy?.let { "proxy" to it },
132+
dockerMode?.let { "docker_mode" to it.toString() },
133+
logLevel?.let { "log_level" to it.stringValue },
134+
report?.let { "report" to it.toString() },
135+
*_customInputs.toList().toTypedArray(),
136+
).toTypedArray()
137+
)
138+
139+
override fun buildOutputObject(stepId: String): Action.Outputs = Outputs(stepId)
140+
141+
public sealed class LogLevel(
142+
public val stringValue: String,
143+
) {
144+
public object Basic : IntellijHttpClientActionV233.LogLevel("BASIC")
145+
146+
public object Headers : IntellijHttpClientActionV233.LogLevel("HEADERS")
147+
148+
public object Verbose : IntellijHttpClientActionV233.LogLevel("VERBOSE")
149+
150+
public class Custom(
151+
customStringValue: String,
152+
) : IntellijHttpClientActionV233.LogLevel(customStringValue)
153+
}
154+
}

0 commit comments

Comments
 (0)