Repository navigation
Add support for native Go version syntax in go-version input - #804
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The implementation, executable bundle, tests, and documentation consistently support the stated behavior, with no unresolved blocking findings.
No open issues 🎉
What changed in this PR
Adds native Go version syntax to go-version, addressing the manual version conversion described in issue #63 while preserving existing SemVer and version-file behavior.
Changes:
- Validates native Go versions and normalizes them to SemVer, unless a custom download base URL is configured.
- Adds tests for validation, normalization, downloads, and custom-URL passthrough.
- Updates documentation, input metadata, and the executable bundle.
| File | Description |
|---|---|
| src/main.ts | Validates and normalizes native Go version inputs. |
| src/installer.ts | Adds native Go version format validation. |
| README.md | Documents supported syntax and custom-URL behavior. |
| docs/advanced-usage.md | Explains normalization and exact-version matching. |
| dist/setup/index.js | Includes the implementation in the executable bundle. |
| action.yml | Advertises native Go version support. |
| tests/setup-go.test.ts | Covers accepted formats, rejection, normalization, downloads, and passthrough. |
Review effort: Balanced
qmuntal
left a comment
There was a problem hiding this comment.
Could we also support native Go versions with custom download URLs? We could normalize the version for matching and cache lookups while preserving the original input when constructing download filenames. That would keep existing URLs working and avoid making version syntax depend on the download source
|
Thank you, @qmuntal, for your feedback. Native Go versions already worked for direct downloads from custom URLs. I’ve updated the code to also normalize them to SemVer for matching and tool-cache lookups, while preserving the original input for constructing download URLs. This enables cache reuse without changing existing download URLs. Tests and documentation have also been updated. Could you please review the changes when you have a chance? |
This PR contains the following updates: | Package | Type | Update | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [actions/setup-go](https://github.com/actions/setup-go) | action | minor | `v7.0.0` → `v7.1.0` |  |  | | [code.forgejo.org/forgejo/runner/v13](https://code.forgejo.org/forgejo/runner) | require | patch | `v13.2.0` → `v13.2.2` |  |  | | [data.forgejo.org/forgejo/runner](https://forgejo.org) ([source](https://code.forgejo.org/forgejo/runner)) | | patch | `13.2.0` → `13.2.2` |  |  | | [go](https://go.dev/) ([source](https://github.com/golang/go)) | toolchain | patch | `1.27.1` → `1.27.4` |  |  | | [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | uses-with | minor | `v2.13.2` → `v2.15.0` |  |  | | [google.golang.org/grpc](https://github.com/grpc/grpc-go) | require | minor | `v1.84.0` → `v1.85.0` |  |  | | [k8s.io/api](https://github.com/kubernetes/api) | require | patch | `v0.37.1` → `v0.37.2` |  |  | | [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) | require | patch | `v0.37.1` → `v0.37.2` |  |  | | [k8s.io/client-go](https://github.com/kubernetes/client-go) | require | patch | `v0.37.1` → `v0.37.2` |  |  | | [k8s.io/kubectl](https://github.com/kubernetes/kubectl) | require | patch | `v0.37.1` → `v0.37.2` |  |  | | [k8s.io/streaming](https://github.com/kubernetes/streaming) | require | patch | `v0.37.1` → `v0.37.2` |  |  | --- ### Release Notes <details> <summary>actions/setup-go</summary> ### [`v7.1.0`](https://github.com/actions/setup-go/releases/tag/v7.1.0) [Compare Source](actions/setup-go@v7.0.0...v7.1.0) ##### What's Changed ##### Enhancements - Expose go env variables as action outputs by [@​v-mahabaleshwars](https://github.com/v-mahabaleshwars) in [#​791](actions/setup-go#791) - Preserve native Go environment names in action outputs by [@​v-mahabaleshwars](https://github.com/v-mahabaleshwars) in [#​793](actions/setup-go#793) - Add support for native Go version syntax in go-version input by [@​v-jitenderpalsingh](https://github.com/v-jitenderpalsingh) in [#​804](actions/setup-go#804) - Add support for rc and beta versions in go.mod file by [@​arnested](https://github.com/arnested) in [#​701](actions/setup-go#701) - Clarify description of go-bin-path output and its fallback behavior by [@​v-mahabaleshwars](https://github.com/v-mahabaleshwars) in [#​803](actions/setup-go#803) - Group verbose Go installation logs and normalize package.json line endings by [@​v-priyagupta108](https://github.com/v-priyagupta108) in [#​789](actions/setup-go#789) ##### Dependency updates - Bump js-yaml from 3.15.1 to 3.15.2 by [@​dependabot](https://github.com/dependabot) in [#​790](actions/setup-go#790) - Bump [@​actions/cache](https://github.com/actions/cache) to 6.3.0 by [@​qmuntal](https://github.com/qmuntal) in [#​794](actions/setup-go#794) - Bump handlebars from 4.7.9 to 4.7.10 by [@​dependabot](https://github.com/dependabot) in [#​802](actions/setup-go#802) - Bump nock from 14.0.15 to 14.0.17 by [@​dependabot](https://github.com/dependabot) in [#​767](actions/setup-go#767) - Bump [@​typescript-eslint/parser](https://github.com/typescript-eslint/parser) from 8.62.0 to 8.72.1 by [@​dependabot](https://github.com/dependabot) in [#​777](actions/setup-go#777) - Bump undici from 6.28.0 to 6.29.1 by [@​dependabot](https://github.com/dependabot) in [#​807](actions/setup-go#807) - Bump eslint-plugin-jest from 29.15.2 to 29.17.0 by [@​dependabot](https://github.com/dependabot) in [#​776](actions/setup-go#776) - Bump [@​typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/eslint-plugin) from 8.62.0 to 8.72.1 by [@​dependabot](https://github.com/dependabot) in [#​778](actions/setup-go#778) - Bump prettier from 3.8.4 to 3.9.10 by [@​dependabot](https://github.com/dependabot) in [#​775](actions/setup-go#775) - Bump package version to 7.1.0 by [@​v-priyagupta108](https://github.com/v-priyagupta108) in [#​818](actions/setup-go#818) - fix: resolve audit/license failures by [@​v-HarithaVattikuti](https://github.com/v-HarithaVattikuti) in [#​784](actions/setup-go#784) - Upgrade checkout refs and docs to v7 by [@​v-HarithaVattikuti](https://github.com/v-HarithaVattikuti) in [#​779](actions/setup-go#779) - fix: update macOS runner configuration to use macOS 15 Intel by [@​v-priya-kinthali](https://github.com/v-priya-kinthali) in [#​786](actions/setup-go#786) ##### New Contributors - [@​qmuntal](https://github.com/qmuntal) made their first contribution in [#​794](actions/setup-go#794) - [@​v-jitenderpalsingh](https://github.com/v-jitenderpalsingh) made their first contribution in [#​804](actions/setup-go#804) - [@​arnested](https://github.com/arnested) made their first contribution in [#​701](actions/setup-go#701) **Full Changelog**: <actions/setup-go@v7.0.0...v7.1.0> </details> <details> <summary>forgejo/runner (code.forgejo.org/forgejo/runner/v13)</summary> ### [`v13.2.2`](https://code.forgejo.org/forgejo/runner/releases/tag/v13.2.2) [Compare Source](https://code.forgejo.org/forgejo/runner/compare/v13.2.1...v13.2.2) - [User guide](https://forgejo.org/docs/next/user/actions/overview/) - [Administrator guide](https://forgejo.org/docs/next/admin/actions/) - [Container images](https://code.forgejo.org/forgejo/-/packages/container/runner/versions) Release Notes *** <!--start release-notes-assistant--> <!--URL:https://code.forgejo.org/forgejo/runner--> - bug fixes - [PR](https://code.forgejo.org/forgejo/runner/pulls/1793): <!--number 1793 --><!--line 0 --><!--description Zml4OiBpc29sYXRlIGNhY2hlIHdyaXRlcyBvZiBwdWxsIHJlcXVlc3QgdHJpZ2dlcmVkIHJldXNhYmxlIHdvcmtmbG93cw==-->fix: isolate cache writes of pull request triggered reusable workflows<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1800): <!--number 1800 --><!--line 0 --><!--description Zml4OiB1cGRhdGUgbHhjLWhlbHBlcnMgdG8gdjEuMS40-->fix: update lxc-helpers to v1.1.4<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1786): <!--number 1786 --><!--line 0 --><!--description Zml4KGNpKTogaW5zdGFsbCBwcmUtY29tbWl0IHZpYSBhcHQ=-->fix(ci): install pre-commit via apt<!--description--> - other - [PR](https://code.forgejo.org/forgejo/runner/pulls/1791): <!--number 1791 --><!--line 0 --><!--description dGVzdDogbWFrZSBsaW51eEJpbmQgdGVzdHMgcGFzcyBvbiBtYWNoaW5lcyB3aXRoIFNFTGludXg=-->test: make linuxBind tests pass on machines with SELinux<!--description--> <!--end release-notes-assistant--> ### [`v13.2.1`](https://code.forgejo.org/forgejo/runner/releases/tag/v13.2.1) [Compare Source](https://code.forgejo.org/forgejo/runner/compare/v13.2.0...v13.2.1) - [User guide](https://forgejo.org/docs/next/user/actions/overview/) - [Administrator guide](https://forgejo.org/docs/next/admin/actions/) - [Container images](https://code.forgejo.org/forgejo/-/packages/container/runner/versions) Release Notes *** <!--start release-notes-assistant--> <!--URL:https://code.forgejo.org/forgejo/runner--> - other - [PR](https://code.forgejo.org/forgejo/runner/pulls/1765): <!--number 1765 --><!--line 0 --><!--description VXBkYXRlIGRlcGVuZGVuY3kgYnVpbGR4IHRvIHYwLjM3LjI=-->Update dependency buildx to v0.37.2<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1768): <!--number 1768 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL21vYnkvbW9ieS9jbGllbnQgdG8gdjAuNi4x-->Update module github.com/moby/moby/client to v0.6.1<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1766): <!--number 1766 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL2RvY2tlci9jbGkgdG8gdjI5LjguMitpbmNvbXBhdGlibGU=-->Update module github.com/docker/cli to v29.8.2+incompatible<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1764): <!--number 1764 --><!--line 0 --><!--description VXBkYXRlIGRlcGVuZGVuY3kgZm9yZ2Vqby1ydW5uZXItc2VydmljZS15cSB0byB2NC41NC4x-->Update dependency forgejo-runner-service-yq to v4.54.1<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1763): <!--number 1763 --><!--line 0 --><!--description Y2hvcmU6IHdvcmthcm91bmQgaW50ZXJtaXR0ZW50IGRvY2tlciBlcnJvciBvbiBtdWx0aXBsYXRmb3JtIHRlc3Rz-->chore: workaround intermittent docker error on multiplatform tests<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1761): <!--number 1761 --><!--line 0 --><!--description Y2hvcmU6IHVwZ3JhZGUgdGVzdCBlbnZpcm9ubWVudCBmcm9tIGJvb2t3b3JtIC0+IHRyaXhpZQ==-->chore: upgrade test environment from bookworm -> trixie<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1760): <!--number 1760 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL2dvbGFuZ2NpL2dvbGFuZ2NpLWxpbnQvdjIvY21kL2dvbGFuZ2NpLWxpbnQgdG8gdjIuMTQuMA==-->Update module github.com/golangci/golangci-lint/v2/cmd/golangci-lint to v2.14.0<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1756): <!--number 1756 --><!--line 0 --><!--description Y2hvcmU6IHJlcXVpcmUgQUkgQWdyZWVtZW50IGNvbmZvcm1hbmNlIHN0YXRlbWVudCBmb3IgUFJz-->chore: require AI Agreement conformance statement for PRs<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1751): <!--number 1751 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnb2xhbmcub3JnL3gvdGltZSB0byB2MC4xNi4w-->Update module golang.org/x/time to v0.16.0<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1752): <!--number 1752 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnb29nbGUuZ29sYW5nLm9yZy9ncnBjIHRvIHYxLjg0LjA=-->Update module google.golang.org/grpc to v1.84.0<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1754): <!--number 1754 --><!--line 0 --><!--description VXBkYXRlIGh0dHBzOi8vZGF0YS5mb3JnZWpvLm9yZy9mb3JnZWpvL2Zvcmdlam8tYnVpbGQtcHVibGlzaCBhY3Rpb24gdG8gdjUuOC4w-->Update <https://data.forgejo.org/forgejo/forgejo-build-publish> action to v5.8.0<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1753): <!--number 1753 --><!--line 0 --><!--description VXBkYXRlIGh0dHBzOi8vZGF0YS5mb3JnZWpvLm9yZy9hY3Rpb25zL3NldHVwLWZvcmdlam8gYWN0aW9uIHRvIHYzLjIuNg==-->Update <https://data.forgejo.org/actions/setup-forgejo> action to v3.2.6<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1749): <!--number 1749 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL3Zla3RyYS9tb2NrZXJ5L3YzIHRvIHYzLjguMA==-->Update module github.com/vektra/mockery/v3 to v3.8.0<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1748): <!--number 1748 --><!--line 0 --><!--description VXBkYXRlIGZvcmdlam8tcnVubmVyIHRvIHYxMy4yLjA=-->Update forgejo-runner to v13.2.0<!--description--> - [PR](https://code.forgejo.org/forgejo/runner/pulls/1750): <!--number 1750 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnb2xhbmcub3JnL3gvdGVybSB0byB2MC40Ni4w-->Update module golang.org/x/term to v0.46.0<!--description--> <!--end release-notes-assistant--> </details> <details> <summary>golangci/golangci-lint</summary> ### [`v2.15.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2150) [Compare Source](golangci/golangci-lint@v2.14.0...v2.15.0) *Released on 2026-10-16* 1. Linters new features or changes - `errcheck`: from 1.20.0 to 1.30.0 - `exhaustive`: from 0.13.0 to 0.15.0 (⚠️ changes) - `gocognit`: from 1.2.1 to 1.3.0 - `golines`: from 0.15.0 to 0.16.0 - `govet-modernize`: from 0.50.0 to 0.52.0 - `loggercheck`: from 0.12.0 to 0.13.0 - `predeclared`: from 0.2.2 to 0.3.0 - `wrapcheck`: from 2.12.0 to 2.13.0 2. Linters bug fixes - `bidichk`: from 0.3.3 to 0.3.4 - `canonicalheader`: from [`a25c71c`](golangci/golangci-lint@a25c71c521f6) to [`e18e5c5`](golangci/golangci-lint@e18e5c5a078f) - `gofumpt`: improve deprecation logs - `gosec`: improve concurrency default value - `iface`: from 1.5.1 to 1.5.3 - `paralleltest`: from 1.0.15 to 1.0.16 - `revive`: from 1.17.0 to 1.17.1 - `revive`: the rules `context-keys-type`, `errorf`, `modifies-value-receiver`, `range-val-address`, `string-of-int`, `time-equal`, `time-naming`, `unexported-return`, `unhandled-error`, `var-declaration` are working (less randomly). - `rowserrcheck`: from [`c5f79b8`](golangci/golangci-lint@c5f79b8a11ba) to [`e0740d5`](golangci/golangci-lint@e0740d52dee8) - `staticcheck`: from 0.8.1 to 0.8.2 3. Bug fixes - fix: compute custom version hash with module versions - fix: env vars loading (related to `revive`)⚠️ Changes of the `exhaustive` linter: - The replaced options still exists, and partially works, but they are deprecated. - The options `explicit-exhaustive-switch` and `explicit-exhaustive-map` have been replaced by `explicit-exhaustive`. - The `check` the value `map` has been replaced by `mapliteral`. - The option `ignore-enum-members` (string) has been replaced by `ignore-constants` (slice). - The option `ignore-enum-types` (string) has been replaced by `ignore-types` (slice). - New report messages. - The linter is a now a "slow" linter. ### [`v2.14.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2140) [Compare Source](golangci/golangci-lint@v2.13.2...v2.14.0) *Released on 2026-09-24* 1. Bug fixes - fix: cache of facts reloading 2. Linters new features or changes - `bodyclose`: from [`73d1f95`](golangci/golangci-lint@73d1f95b84b4) to [`857993a`](golangci/golangci-lint@857993a2939c) (new directive `handled`) - `exhaustive`: from 0.12.0 to 0.13.0 - `exhaustruct_v5`: from 5.0.3 to 5.2.0 (new option: `allow-empty-blank-assignments`) - `go-check-sumtype`: from 0.3.1 to [`ae6904d`](golangci/golangci-lint@ae6904d28606) - `gocritic`: from 0.14.4 to 0.15.0 - `gofumpt`: from 0.11.0 to 0.12.0 - `gomoddirectives`: from 0.9.0 to 0.10.0 - `gosec`: from 2.28.0 to 2.29.0 (re-enable `G407`) - `govet-modernize`: from 0.49.0 to 0.50.0 - `loggercheck`: from 0.11.0 to 0.12.0 - `revive`: from 1.15.0 to 1.17.0 (new rules: `marshal-receiver`, `multiline-if-init`, `use-slices-concat`) - `tagliatelle`: from 0.7.2 to 0.8.0 3. Linters bug fixes - `fatcontext`: from 0.10.0 to 0.10.1 - `flock`: from 0.13.0 to 0.13.1 - `godoclint`: from 0.11.2 to 0.11.4 - `protogetter`: from 0.3.21 to 1.0.1 - `recvcheck`: from 0.3.0 to 0.3.1 - `tagalign`: from 1.4.3 to 1.4.4 </details> <details> <summary>grpc/grpc-go (google.golang.org/grpc)</summary> ### [`v1.85.0`](https://github.com/grpc/grpc-go/releases/tag/v1.85.0): Release 1.85.0 [Compare Source](grpc/grpc-go@v1.84.0...v1.85.0) ### New Features - stats: Expose the effective client authority (sent on the wire as the HTTP/2 `:authority` header) in client `stats.OutHeader` events. ([#​9296](grpc/grpc-go#9296)) - Special Thanks: [@​aryansk](https://github.com/aryansk) - metadata: Add `ValueFromOutgoingContext`, which reads a single metadata value from outgoing context without copying the entire outgoing metadata into a new map. ([#​9282](grpc/grpc-go#9282)) - Special Thanks: [@​yuyangguo42](https://github.com/yuyangguo42) ### Bug Fixes - transport: Refine control buffer throttling to only count peer-induced control frames, raise the default `GRPC_GO_EXPERIMENTAL_CONTROL_BUFFER_THROTTLE_LIMIT` from 100 to 10,000, and close client connections if reads remain throttled for `10s`. ([#​9563](grpc/grpc-go#9563)) - server: Ensure `Stop()` forcefully terminates the server while `GracefulStop()` is waiting for active handlers to complete. ([#​9394](grpc/grpc-go#9394)) - Special Thanks: [@​stanhu](https://github.com/stanhu) - server: Unconditionally increment the highest-seen stream ID on when handling `HEADERS` frames to comply with [RFC 7540 §5.1.1](https://www.rfc-editor.org/rfc/rfc7540.html#section-5.1.1). Previously, truncated `HEADERS` frames left the connection in an inconsistent state and allowed stream IDs to be reused by clients without resulting in a protocol error. ([#​9414](grpc/grpc-go#9414)) - server: Terminate streams immediately when a `HEADERS` frame includes the `EndStream` bit. Previously, this caused server handlers to hang when reading a message. ([#​9391](grpc/grpc-go#9391)) - server: Reject requests missing both `:authority` and `Host` headers with HTTP 400 and status `Internal`. ([#​9365](grpc/grpc-go#9365)) - xds: Fix a bug where route header matchers with non-lowercase names failed to match routes. ([#​9353](grpc/grpc-go#9353)) - Special Thanks: [@​winklemad](https://github.com/winklemad) - client: Ensure retried RPCs use the correct `:authority` value specified by the LB policy instead of inheriting it from a previous attempt. ([#​9277](grpc/grpc-go#9277)) - Special Thanks: [@​nvxbug](https://github.com/nvxbug) - transport: Fail streams with `io.ErrUnexpectedEOF` instead of `io.EOF` upon receiving truncated message headers or bodies after partial data has already been received. ([#​9204](grpc/grpc-go#9204)) - Special Thanks: [@​buger](https://github.com/buger) </details> <details> <summary>kubernetes/api (k8s.io/api)</summary> ### [`v0.37.2`](kubernetes/api@v0.37.1...v0.37.2) [Compare Source](kubernetes/api@v0.37.1...v0.37.2) </details> <details> <summary>kubernetes/apimachinery (k8s.io/apimachinery)</summary> ### [`v0.37.2`](kubernetes/apimachinery@v0.37.1...v0.37.2) [Compare Source](kubernetes/apimachinery@v0.37.1...v0.37.2) </details> <details> <summary>kubernetes/client-go (k8s.io/client-go)</summary> ### [`v0.37.2`](kubernetes/client-go@v0.37.1...v0.37.2) [Compare Source](kubernetes/client-go@v0.37.1...v0.37.2) </details> <details> <summary>kubernetes/kubectl (k8s.io/kubectl)</summary> ### [`v0.37.2`](kubernetes/kubectl@v0.37.1...v0.37.2) [Compare Source](kubernetes/kubectl@v0.37.1...v0.37.2) </details> <details> <summary>kubernetes/streaming (k8s.io/streaming)</summary> ### [`v0.37.2`](kubernetes/streaming@v0.37.1...v0.37.2) [Compare Source](kubernetes/streaming@v0.37.1...v0.37.2) </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Paris) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMDQuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjI0MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJyZW5vdmF0ZS9naXRodWItYWN0aW9uIiwicmVub3ZhdGUvZ2l0aHViLXJlbGVhc2UiLCJ0eXBlL21pbm9yIiwidHlwZS9wYXRjaCJdfQ==--> Reviewed-on: https://git.erwanleboucher.dev/eleboucher/runner-k8s-plugin/pulls/108
Description:
This PR adds support for Go-native version syntax (
go1.21,go1.21.5,go1.18beta2,go1.21rc2) in thego-versioninput. Supported inputs are normalized to SemVer for matching and cache lookups. Without a custom download URL, malformed Go-native inputs such asgo1.21.xfail with a clear error. For custom download URLs, the original input is preserved when constructing direct-download filenames. Existing SemVer inputs remain supported.Related issue:
#63
Check list: