Dmitry Shibanov
a965b3d479
minor fix
2022-12-05 20:18:53 +01:00
Dmitry Shibanov
f62329616a
minor changes
2022-12-05 15:40:29 +01:00
Dmitry Shibanov
eb4d2dd387
possible fix
2022-11-29 23:02:50 +01:00
Dmitry Shibanov
b7bdf8dcd0
add type conversion
2022-11-29 22:46:12 +01:00
panticmilos
ece959cf2b
Rebuild dist
2022-11-25 10:52:15 +01:00
panticmilos
f1f69d49da
Apply internal discussion agreements
2022-11-25 10:50:21 +01:00
panticmilos
17fabf6bf1
Move condition to the installer
2022-11-24 16:13:28 +01:00
panticmilos
18c62c8dd3
Return alias condition to main
2022-11-23 18:50:03 +01:00
panticmilos
a29996aa9d
Apply PR suggestions
2022-11-23 18:39:47 +01:00
panticmilos
9b762a9fb1
Add check latest check
2022-11-21 18:17:25 +01:00
panticmilos
84f83e7f2d
Add check latest check
2022-11-21 18:11:05 +01:00
panticmilos
ee153a708d
Add check latest check
2022-11-21 18:05:23 +01:00
panticmilos
46c78a9b17
Apply PR suggestions
2022-11-21 17:11:36 +01:00
panticmilos
317adaa2cb
Apply PR suggestions
2022-11-21 17:09:26 +01:00
panticmilos
5552b45f54
Introduce new stable alias type
2022-11-20 19:13:39 +01:00
panticmilos
d33323e2b9
Remove unnecessary variables
2022-11-20 18:46:41 +01:00
panticmilos
546aac70e3
Add stable and oldstable aliases
2022-11-20 18:14:07 +01:00
Marko Zivic
e983b65a44
Merge pull request #283 from koba1t/add_support_gowork_for_go-version-file
...
add support go.work file for go-version-file
2022-11-08 11:45:09 +01:00
Dmitry Shibanov
27b43e1b0d
Pass the token input through on GHES ( #277 )
2022-11-02 12:21:18 +01:00
koba1t
7678c83214
add support gowork for go-version-file
2022-11-01 21:25:30 +09:00
n33pm
c4a742cab1
fix(): cache resolve version input ( #267 )
2022-10-17 18:33:22 +02:00
Evgenii Korolevskii
c4e169859f
prettier format
2022-09-08 15:11:06 +02:00
Evgenii Korolevskii
db58e98a43
format
2022-09-08 14:53:17 +02:00
Evgenii Korolevskii
5547b9ed8d
fix(cache): Not throw err if no cache folders
2022-09-08 13:18:41 +02:00
Evgenii Korolevskii
be45b2722d
build
2022-09-08 12:29:13 +02:00
Milos Pantic
268d8c0ca0
Add support for arm32 go arch ( #253 )
2022-08-12 12:29:48 +02:00
Javier Romero
e0dce94eb0
Use explicit filename when downloading Windows go package
...
Using the explicit filename for Windows is necessary to
satisfy `Expand-Archive`'s requirement on '.zip' extension.
Signed-off-by: Javier Romero <root@jromero.codes>
2022-07-28 19:01:53 -05:00
Vladimir Safonkin
9eecd2d0d7
Minor fix
2022-07-01 09:25:30 +02:00
Vladimir Safonkin
0fd92001e9
Rework cache handling
2022-06-28 14:17:12 +02:00
Vladimir Safonkin
6036aa2424
Add cache error handling
2022-06-14 10:57:37 +02:00
IvanZosimov
b22fbbc292
Implementation of caching functionality for setup-go action ( #228 )
2022-05-25 12:07:29 +02:00
So Jomura
265edc1beb
Add go-version-file option ( #62 )
2022-05-12 10:04:39 +02:00
Brian Cristante
193b404f8a
Successfully set up ( #231 )
2022-05-03 08:43:40 -04:00
Vladimir Safonkin
ad70bef2ef
Fix condition for old go versions
2022-04-17 17:36:51 +02:00
Nick
4a4352b330
Add 'go-version' Output ( #85 )
...
* Add go-version to action outputs
This provides the semver version of Go that has been installed. This is useful
if only a major or minor version has been provided as the input go-version
value.
* Convert version extraction to a function
Simplify how the version is extracted and add a simple test at the same
time.
Co-authored-by: Peter Mescalchin <peter@magnetikonline.com>
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
Co-authored-by: Peter Mescalchin <peter@magnetikonline.com>
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2022-04-08 12:23:10 -04:00
Fraser Waters
0b4fbc55f6
await io.mkdirP
2022-03-28 10:54:44 +01:00
Josh Gross
802876f7c7
Fix formatting
2022-03-14 12:23:03 -04:00
Josh Gross
2a34c33bd7
Export `GOROOT` for versions < 1.9
2022-03-14 12:21:30 -04:00
Manuel Mendez
83124a14b6
Do not export GOROOT
...
This has not been necessary since [Go 1.9](https://go.dev/doc/go1.9#goroot ) at
least (although clunky to do so then) but definitely not since
[Go 1.10](https://go.dev/doc/go1.10#goroot ).
This is cargo culting code that is more than 2 years out of date and runs into
issues when multiple go versions are used in an action run.
Signed-off-by: Manuel Mendez <mmendez534@gmail.com>
2022-03-11 08:26:16 -05:00
Dmitry Shibanov
f6164bd8c8
Remove stable input and fix SemVer notation ( #195 )
2022-02-28 10:16:32 +03:00
Dmitry Shibanov
bfdd3570ce
Implement "check-latest" flag to check if pre-cached version is latest one ( #186 )
2022-02-09 14:59:04 +03:00
Paul Cacheux
bba6fe1d58
Fix extractor selection on windows
2021-08-19 21:32:02 +02:00
Maxim Lobanov
d0c5defdf3
Switch manifest installation from "master" to "main" branch ( #65 )
...
* switch from master to main branch
* Update README.md
2020-07-20 12:50:40 -04:00
Dmitry Shibanov
1616116e1b
Use GitHub releases to download Go versions. ( #58 )
2020-06-29 11:41:13 -04:00
Bryan MacFarlane
6613fc89fc
go env block
2020-04-06 08:42:55 -04:00
Bryan MacFarlane
0dbc7e4965
toString
2020-03-31 10:40:32 -04:00
Bryan MacFarlane
f32657ccaf
output version of go it resolved to
2020-03-31 10:37:33 -04:00
Bryan MacFarlane
cec6ecefb4
output version of go it resolved to
2020-03-31 10:32:03 -04:00
Bryan MacFarlane
1c06f0e82e
couple tests
2020-03-27 00:55:12 -04:00
Bryan MacFarlane
262468e92f
only needed to do once
2020-03-26 13:46:15 -04:00