8000 [#676] feat(actions): add madhead/intellij-http-client-action@v231 · typesafegithub/github-workflows-kt@d01462d · GitHub
[go: up one dir, main page]

Skip to content

Commit d01462d

Browse files
committed
[#676] feat(actions): add madhead/intellij-http-client-action@v231
1 parent f2791a1 commit d01462d

File tree

5 files changed

+126
-2
lines changed

5 files changed

+126
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
28d52a8953cd5b9b4977556111c57f3fe4842262

actions/madhead/intellij-http-client-action/v231/typings-hosted-by-action

Whitespace-only changes.

docs/supported-actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Click on a version to see the wrapper's code.
8989
* [github-actions-typing](https://github.com/krzema12/github-actions-typing) - v0 ✅: [`GithubActionsTypingV0`](https://github.com/krzema12/github-workflows-kt/blob/v[[ version ]]/library/src/gen/kotlin/it/krzeminski/githubactions/actions/krzema12/GithubActionsTypingV0.kt), v1 ✅: [`GithubActionsTypingV1`](https://github.com/krzema12/github-workflows-kt/blob/v[[ version ]]/library/src/gen/kotlin/it/krzeminski/githubactions/actions/krzema12/GithubActionsTypingV1.kt)
9090
* madhead
9191
* [check-gradle-version](https://github.com/madhead/check-gradle-version) - v1 ✅: [`CheckGradleVersionV1`](https://github.com/krzema12/github-workflows-kt/blob/v[[ version ]]/library/src/gen/kotlin/it/krzeminski/githubactions/actions/madhead/CheckGradleVersionV1.kt)
92-
* [intellij-http-client-action](https://github.com/madhead/intellij-http-client-action) - v0 ✅: [`IntellijHttpClientActionV0`](https://github.com/krzema12/github-workflows-kt/blob/v[[ version ]]/library/src/gen/kotlin/it/krzeminski/githubactions/actions/madhead/IntellijHttpClientActionV0.kt)
92+
* [intellij-http-client-action](https://github.com/madhead/intellij-http-client-action) - v0 ✅: [`IntellijHttpClientActionV0`](https://github.com/krzema12/github-workflows-kt/blob/v[[ version ]]/library/src/gen/kotlin/it/krzeminski/githubactions/actions/madhead/IntellijHttpClientActionV0.kt), v231 ✅: [`IntellijHttpClientActionV231`](https://github.com/krzema12/github-workflows-kt/blob/v[[ version ]]/library/src/gen/kotlin/it/krzeminski/githubactions/actions/madhead/IntellijHttpClientActionV231.kt)
9393
* [semver-utils](https://github.com/madhead/semver-utils) - v2 ✅: [`SemverUtilsV2`](https://github.com/krzema12/github-workflows-kt/blob/v[[ version ]]/library/src/gen/kotlin/it/krzeminski/githubactions/actions/madhead/SemverUtilsV2.kt), v3 ✅: [`SemverUtilsV3`](https://github.com/krzema12/github-workflows-kt/blob/v[[ version ]]/library/src/gen/kotlin/it/krzeminski/githubactions/actions/madhead/SemverUtilsV3.kt)
9494
* mi-kas
9595
* [kover-report](https://github.com/mi-kas/kover-report) - v1 ✅: [`KoverReportV1`](https://github.com/krzema12/github-workflows-kt/blob/v[[ version ]]/library/src/gen/kotlin/it/krzeminski/githubactions/actions/mikas/KoverReportV1.kt)
@@ -125,6 +125,6 @@ Click on a version to see the wrapper's code.
125125
Number of wrappers available:
126126

127127
* counting by actions: 73
128-
* counting each version separately: 99
128+
* counting each version separately: 100
129129

130130
Actions [providing typings](https://github.com/krzema12/github-actions-typing/) (marked with ✅ on the above list): 13

library/src/gen/kotlin/it/krzeminski/githubactions/actions/madhead/IntellijHttpClientActionV0.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
// This file was generated using 'wrapper-generator' module. Don't change it by hand, your changes will
22
// be overwritten with the next wrapper code regeneration. Instead, consider introducing changes to the
33
// generator itself.
4+
@file:Suppress("DEPRECATION")
5+
46
package it.krzeminski.githubactions.actions.madhead
57

68
import it.krzeminski.githubactions.actions.Action
79
import java.util.LinkedHashMap
810
import kotlin.Boolean
11+
import kotlin.Deprecated
912
import kotlin.Int
1013
import kotlin.String
1114
import kotlin.Suppress
@@ -21,6 +24,10 @@ import kotlin.collections.toTypedArray
2124
*
2225
* [Action on GitHub](https://github.com/madhead/intellij-http-client-action)
2326
*/
27+
@Deprecated(
28+
message = "This action has a newer major version: IntellijHttpClientActionV231",
29+
replaceWith = ReplaceWith("IntellijHttpClientActionV231"),
30+
)
2431
public data class IntellijHttpClientActionV0(
2532
/**
2633
* HTTP file paths
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
// This file was generated using 'wrapper-generator' module. Don't change it by hand, your changes will
2+
// be overwritten with the next wrapper code regeneration. Instead, consider introducing changes to the
3+
// generator itself.
4+
package it.krzeminski.githubactions.actions.madhead
5+
6+
import it.krzeminski.githubactions.actions.Action
7+
import java.util.LinkedHashMap
8+
import kotlin.Boolean
9+
import kotlin.Int
10+
import kotlin.String
11+
import kotlin.Suppress
12+
import kotlin.collections.List
13+
import kotlin.collections.Map
14+
import kotlin.collections.toList
15+
import kotlin.collections.toTypedArray
16+
17+
/**
18+
* Action: intellij-http-client-action
19+
*
20+
* IntelliJ HTTP Client CLI GitHub Action – Run Requests and Tests on CI
21+
*
22+
* [Action on GitHub](https://github.com/madhead/intellij-http-client-action)
23+
*/
24+
public data class IntellijHttpClientActionV231(
25+
/**
26+
* HTTP file paths
27+
*/
28+
public val files: List<String>,
29+
/**
30+
* Number of milliseconds for socket read
31+
*/
32+
public val socketTimeout: Int? = null,
33+
/**
34+
* Number of milliseconds for connection
35+
*/
36+
public val connectTimeout: Int? = null,
37+
/**
38+
* Allow insecure SSL connections
39+
*/
40+
public val insecure: Boolean? = null,
41+
/**
42+
* Name of the environment in config file
43+
*/
44+
public val env: String? = null,
45+
/**
46+
* Name of the public environment file
47+
*/
48+
public val envFile: String? = null,
49+
/**
50+
* Public environment variables ('key=value')
51+
*/
52+
public val envVariables: List<String>? = null,
53+
/**
54+
* Name of the private environment file
55+
*/
56+
public val privateEnvFile: String? = null,
57+
/**
58+
* Private environment variables ('key=value')
59+
*/
60+
public val privateEnvVariables: List<String>? = null,
61+
/**
62+
* Enables Docker mode. Treat 'localhost' as 'host.docker.internal'
63+
*/
64+
public val dockerMode: Boolean? = null,
65+
/**
66+
* Logging level. One of 'BASIC' (default), 'HEADERS', or 'VERBOSE'
67+
*/
68+
public val logLevel: IntellijHttpClientActionV231.LogLevel? = null,
69+
/**
70+
* Creates report about execution in JUnit XML Format. Puts it in folder 'reports' in the
71+
* current directory
72+
*/
73+
public val report: Boolean? = null,
74+
/**
75+
* Type-unsafe map where you can put any inputs that are not yet supported by the wrapper
76+
*/
77+
public val _customInputs: Map<String, String> = mapOf(),
78+
/**
79+
* Allows overriding action's version, for example to use a specific minor version, or a newer
80+
* version that the wrapper doesn't yet know about
81+
*/
82+
public val _customVersion: String? = null,
83+
) : Action("madhead", "intellij-http-client-action", _customVersion ?: "v231") {
84+
@Suppress("SpreadOperator")
85+
public override fun toYamlArguments(): LinkedHashMap<String, String> = linkedMapOf(
86+
*listOfNotNull(
87+
"files" to files.joinToString(" "),
88+
socketTimeout?.let { "socket_timeout" to it.toString() },
89+
connectTimeout?.let { "connect_timeout" to it.toString() },
90+
insecure?.let { "insecure" to it.toString() },
91+
env?.let { "env" to it },
92+
envFile?.let { "env_file" to it },
93+
envVariables?.let { "env_variables" to it.joinToString("\n") },
94+
privateEnvFile?.let { "private_env_file" to it },
95+
privateEnvVariables?.let { "private_env_variables" to it.joinToString("\n") },
96+
dockerMode?.let { "docker_mode" to it.toString() },
97+
logLevel?.let { "log_level" to it.stringValue },
98+
report?.let { "report" to it.toString() },
99+
*_customInputs.toList().toTypedArray(),
100+
).toTypedArray()
101+
)
102+
103+
public sealed class LogLevel(
104+
public val stringValue: String,
105+
) {
106+
public object Basic : IntellijHttpClientActionV231.LogLevel("BASIC")
107+
108+
public object Headers : IntellijHttpClientActionV231.LogLevel("HEADERS")
109+
110+
public object Verbose : IntellijHttpClientActionV231.LogLevel("VERBOSE")
111+
112+
public class Custom(
113+
customStringValue: String,
114+
) : IntellijHttpClientActionV231.LogLevel(customStringValue)
115+
}
116+
}

0 commit comments

Comments
 (0)
0