Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7d3f867203 | |||
| fb86e67f6c | |||
| afd83bbc9a | |||
| 1f7c76fac8 | |||
| 8f6a1e53aa | |||
| 7b00db0932 | |||
| 245aa8b484 | |||
| 0234a3aade | |||
| 62288dc225 |
@@ -4,7 +4,10 @@ description: |
|
||||
inputs:
|
||||
version:
|
||||
description: "The Go version to use."
|
||||
default: "1.25.7"
|
||||
default: "1.26.1"
|
||||
use-preinstalled-go:
|
||||
description: "Whether to use preinstalled Go."
|
||||
default: "false"
|
||||
use-cache:
|
||||
description: "Whether to use the cache."
|
||||
default: "true"
|
||||
|
||||
Generated
+7
-7
@@ -24004,19 +24004,19 @@ const docTemplate = `{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"forceQuery": {
|
||||
"description": "append a query ('?') even if RawQuery is empty",
|
||||
"description": "ForceQuery indicates whether the original URL contained a query ('?') character.\nWhen set, the String method will include a trailing '?', even when RawQuery is empty.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"fragment": {
|
||||
"description": "fragment for references, without '#'",
|
||||
"description": "fragment for references (without '#')",
|
||||
"type": "string"
|
||||
},
|
||||
"host": {
|
||||
"description": "host or host:port (see Hostname and Port methods)",
|
||||
"description": "\"host\" or \"host:port\" (see Hostname and Port methods)",
|
||||
"type": "string"
|
||||
},
|
||||
"omitHost": {
|
||||
"description": "do not emit empty host (authority)",
|
||||
"description": "OmitHost indicates the URL has an empty host (authority).\nWhen set, the String method will not include the host when it is empty.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"opaque": {
|
||||
@@ -24028,15 +24028,15 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
},
|
||||
"rawFragment": {
|
||||
"description": "encoded fragment hint (see EscapedFragment method)",
|
||||
"description": "RawFragment is an optional field containing an encoded fragment hint.\nSee the EscapedFragment method for more details.\n\nIn general, code should call EscapedFragment instead of reading RawFragment.",
|
||||
"type": "string"
|
||||
},
|
||||
"rawPath": {
|
||||
"description": "encoded path hint (see EscapedPath method)",
|
||||
"description": "RawPath is an optional field containing an encoded path hint.\nSee the EscapedPath method for more details.\n\nIn general, code should call EscapedPath instead of reading RawPath.",
|
||||
"type": "string"
|
||||
},
|
||||
"rawQuery": {
|
||||
"description": "encoded query values, without '?'",
|
||||
"description": "RawQuery contains the encoded query values, without the initial '?'.\nUse URL.Query to decode the query.",
|
||||
"type": "string"
|
||||
},
|
||||
"scheme": {
|
||||
|
||||
Generated
+7
-7
@@ -22122,19 +22122,19 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"forceQuery": {
|
||||
"description": "append a query ('?') even if RawQuery is empty",
|
||||
"description": "ForceQuery indicates whether the original URL contained a query ('?') character.\nWhen set, the String method will include a trailing '?', even when RawQuery is empty.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"fragment": {
|
||||
"description": "fragment for references, without '#'",
|
||||
"description": "fragment for references (without '#')",
|
||||
"type": "string"
|
||||
},
|
||||
"host": {
|
||||
"description": "host or host:port (see Hostname and Port methods)",
|
||||
"description": "\"host\" or \"host:port\" (see Hostname and Port methods)",
|
||||
"type": "string"
|
||||
},
|
||||
"omitHost": {
|
||||
"description": "do not emit empty host (authority)",
|
||||
"description": "OmitHost indicates the URL has an empty host (authority).\nWhen set, the String method will not include the host when it is empty.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"opaque": {
|
||||
@@ -22146,15 +22146,15 @@
|
||||
"type": "string"
|
||||
},
|
||||
"rawFragment": {
|
||||
"description": "encoded fragment hint (see EscapedFragment method)",
|
||||
"description": "RawFragment is an optional field containing an encoded fragment hint.\nSee the EscapedFragment method for more details.\n\nIn general, code should call EscapedFragment instead of reading RawFragment.",
|
||||
"type": "string"
|
||||
},
|
||||
"rawPath": {
|
||||
"description": "encoded path hint (see EscapedPath method)",
|
||||
"description": "RawPath is an optional field containing an encoded path hint.\nSee the EscapedPath method for more details.\n\nIn general, code should call EscapedPath instead of reading RawPath.",
|
||||
"type": "string"
|
||||
},
|
||||
"rawQuery": {
|
||||
"description": "encoded query values, without '?'",
|
||||
"description": "RawQuery contains the encoded query values, without the initial '?'.\nUse URL.Query to decode the query.",
|
||||
"type": "string"
|
||||
},
|
||||
"scheme": {
|
||||
|
||||
Generated
+15
-13
@@ -15050,19 +15050,21 @@ None
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|---------------|------------------------------|----------|--------------|----------------------------------------------------|
|
||||
| `forceQuery` | boolean | false | | append a query ('?') even if RawQuery is empty |
|
||||
| `fragment` | string | false | | fragment for references, without '#' |
|
||||
| `host` | string | false | | host or host:port (see Hostname and Port methods) |
|
||||
| `omitHost` | boolean | false | | do not emit empty host (authority) |
|
||||
| `opaque` | string | false | | encoded opaque data |
|
||||
| `path` | string | false | | path (relative paths may omit leading slash) |
|
||||
| `rawFragment` | string | false | | encoded fragment hint (see EscapedFragment method) |
|
||||
| `rawPath` | string | false | | encoded path hint (see EscapedPath method) |
|
||||
| `rawQuery` | string | false | | encoded query values, without '?' |
|
||||
| `scheme` | string | false | | |
|
||||
| `user` | [url.Userinfo](#urluserinfo) | false | | username and password information |
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|--------------|---------|----------|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `forceQuery` | boolean | false | | Forcequery indicates whether the original URL contained a query ('?') character. When set, the String method will include a trailing '?', even when RawQuery is empty. |
|
||||
| `fragment` | string | false | | fragment for references (without '#') |
|
||||
| `host` | string | false | | "host" or "host:port" (see Hostname and Port methods) |
|
||||
| `omitHost` | boolean | false | | Omithost indicates the URL has an empty host (authority). When set, the String method will not include the host when it is empty. |
|
||||
| `opaque` | string | false | | encoded opaque data |
|
||||
| `path` | string | false | | path (relative paths may omit leading slash) |
|
||||
|`rawFragment`|string|false||Rawfragment is an optional field containing an encoded fragment hint. See the EscapedFragment method for more details.
|
||||
In general, code should call EscapedFragment instead of reading RawFragment.|
|
||||
|`rawPath`|string|false||Rawpath is an optional field containing an encoded path hint. See the EscapedPath method for more details.
|
||||
In general, code should call EscapedPath instead of reading RawPath.|
|
||||
|`rawQuery`|string|false||Rawquery contains the encoded query values, without the initial '?'. Use URL.Query to decode the query.|
|
||||
|`scheme`|string|false|||
|
||||
|`user`|[url.Userinfo](#urluserinfo)|false||username and password information|
|
||||
|
||||
## serpent.ValueSource
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@ RUN cargo install jj-cli typos-cli watchexec-cli
|
||||
FROM ubuntu:jammy@sha256:ce4a593b4e323dcc3dd728e397e0a866a1bf516a1b7c31d6aa06991baec4f2e0 AS go
|
||||
|
||||
# Install Go manually, so that we can control the version
|
||||
ARG GO_VERSION=1.25.7
|
||||
ARG GO_CHECKSUM="12e6d6a191091ae27dc31f6efc630e3a3b8ba409baf3573d955b196fdf086005"
|
||||
ARG GO_VERSION=1.26.1
|
||||
ARG GO_CHECKSUM="031f088e5d955bab8657ede27ad4e3bc5b7c1ba281f05f245bcc304f327c987a"
|
||||
|
||||
# Boring Go is needed to build FIPS-compliant binaries.
|
||||
RUN apt-get update && \
|
||||
|
||||
Reference in New Issue
Block a user