Commit Graph

46 Commits (b22fbbc2921299758641fab08929b4ac52b32923)

Author SHA1 Message Date
IvanZosimov b22fbbc292
Implementation of caching functionality for setup-go action (#228) 3 years ago
Dmitry Shibanov fcdc43634a
Update @zeit/ncc to @vercel/ncc (#229) 3 years ago
So Jomura 265edc1beb
Add go-version-file option (#62) 3 years ago
Brian Cristante 193b404f8a
Successfully set up (#231) 3 years ago
Vladimir Safonkin ad70bef2ef Fix condition for old go versions 3 years ago
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>
3 years ago
Fraser Waters 13df686579 Update dist 3 years ago
Josh Gross 229eefa42b
Update `dist` 3 years ago
Josh Gross 2a34c33bd7
Export `GOROOT` for versions < 1.9 3 years ago
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>
3 years ago
Dmitry Shibanov f6164bd8c8
Remove stable input and fix SemVer notation (#195) 3 years ago
Dmitry Shibanov bfdd3570ce
Implement "check-latest" flag to check if pre-cached version is latest one (#186) 3 years ago
Paul Cacheux bba6fe1d58 Fix extractor selection on windows 3 years ago
Thomas Boop 37335c7bb2
Swap to Environment Files (#76)
* Swap to env files
4 years ago
Thomas Boop 23a9878ae4 Add Licensed workflow and configuration files 4 years ago
Thomas Boop a01ab08f9a Add Third Party License Information 4 years ago
Bryan MacFarlane 33cbf07c96 workflow main references 5 years ago
Maxim Lobanov d0c5defdf3
Switch manifest installation from "master" to "main" branch (#65)
* switch from master to main branch

* Update README.md
5 years ago
Dmitry Shibanov 1616116e1b
Use GitHub releases to download Go versions. (#58) 5 years ago
Bryan MacFarlane 6613fc89fc go env block 5 years ago
Bryan MacFarlane 0dbc7e4965 toString 5 years ago
Bryan MacFarlane 2091469f9f lint 5 years ago
Bryan MacFarlane cec6ecefb4 output version of go it resolved to 5 years ago
Bryan MacFarlane 1c06f0e82e couple tests 5 years ago
Bryan MacFarlane dec4fc5647 update tool-cache version 5 years ago
Bryan MacFarlane 262468e92f only needed to do once 5 years ago
Bryan MacFarlane 4e8106ca18 create profiles go dir if go installed but not exists 5 years ago
Bryan MacFarlane 93ddff5bef lint 5 years ago
Bryan MacFarlane 1fea44b3f0 create bin if not under go env GOPATH 5 years ago
Bryan MacFarlane 3e014ec8a4 lint 5 years ago
Bryan MacFarlane 3d0e3826ed prefer globally installed bin 5 years ago
Bryan MacFarlane 9c31f591e9 add bin to path 5 years ago
Bryan MacFarlane 9b1c41166a fix version dir 5 years ago
Bryan MacFarlane 655555d319 fix cache dir issue 5 years ago
Bryan MacFarlane 768458bd0b pre-release version and test 5 years ago
Bryan MacFarlane 43880314e9 CR feedback 5 years ago
Bryan MacFarlane 7ea80d8e5f casing 5 years ago
Bryan MacFarlane a6a701e18e better user output 5 years ago
Bryan MacFarlane 6b10398c43 removed unneeded console.log 5 years ago
Bryan MacFarlane 6cb99a33d7 another test 5 years ago
Bryan MacFarlane 241a335117 mock os instead of system 5 years ago
Bryan MacFarlane 79b62adb05 another test and bugs 5 years ago
Bryan MacFarlane f4b0281c15 mocked tests work with no internet 5 years ago
Bryan MacFarlane 3c844703e7 bugs 5 years ago
Bryan MacFarlane dc575ee3b3 format 5 years ago
Bryan MacFarlane 4282769cc0 starting v2 and proxy support 5 years ago