Commit Graph

97 Commits (v5)

Author SHA1 Message Date
aparnajyothi-y 40f1582b24
Fall back to downloading from go.dev/dl instead of storage.googleapis.com/golang(V5) (#689)
* update url

* npm run audit fix

* npm run build

* license updates

* license update

* license upodate

* license update

* license update

* updates

* format update

* updates
10 months ago
HarithaVattikuti fbd97068ad Revert "Replace url"
This reverts commit 289392effb.
11 months ago
HarithaVattikuti 289392effb Replace url 11 months ago
Priya Gupta 29694d72cd
Add manifest validation and improve error handling (#586) 1 year ago
Priya Gupta dca8468d37
Update self-hosted environment validation and bump undici version (#556)
* Fix self-hosted environment check

* Update isSelfHosted logic
2 years ago
Tobias 3041bf56c9
feat: fallback to "raw" endpoint for manifest when rate limit is reached (#496)
* feat: fallback to "raw" endpoint for manifest when rate limit is reached

* add information about raw access to the README

* prettier

* update cross-spawn to 7.0.6 to fix vulnerability
2 years ago
John Wesley Walker III 941977282c
Revise `isGhes` logic (#511)
* Revise `isGhes` logic

* ran `npm run format`

* added unit test

* tweaked unit test

* ran `npm run format`
2 years ago
Zxilly b26d40294f
fix: add arch to cache key (#493) 2 years ago
Dmitry Shibanov 0c52d547c9
Update dependencies for node20 (#445) 3 years ago
galargh 48ac8fd236 chore: format 3 years ago
Piotr Galar 89a192af9d fix: sync .complete marker when caching tools on windows 3 years ago
Sergey Dolin 93397bea11
Fix Install on Windows is very slow (#393)
* Fix Install on Windows is very slow

* Add unit test

* Improve readability

* Add e2e test

* fix lint

* Fix unit tests

* Fix unit tests

* limit to github hosted runners

* test hosted version of go

* AzDev environment

* rename lnkSrc

* refactor conditions

* improve tests

* refactoring

* Fix e2e test

* improve isHosted readability
3 years ago
Sergey Dolin 4e0b6c77c6 Limit to Linux only 3 years ago
Sergey Dolin a4d10f0ea4 Add imageOS to primaryKey
https://github.com/actions/setup-go/issues/368
3 years ago
Dmitry Shibanov fdc0d672a1
Add Go bin if go-version input is empty (#351) 4 years ago
Dmitry Shibanov ebfdf6ac95
add warning if go-version is empty (#350) 4 years ago
Sergey Dolin c51a720768
Enable caching by default with default input (#332) 4 years ago
Ivan 7406d654ad
Add and configure ESLint and update configuration for Prettier (#341)
* Turn on ESLint and update Prettier

* Update eslint config

* Update eslint config

* Update dependencies

* Update ESLint and Prettier configurations

* update package.json

* Update prettier command

* Update prettier config file

* Change CRLF to LF

* Update docs

* Update docs
4 years ago
Evgenii Korolevskii b8eec33327 Merge branch 'main' into use-actual-version-in-cache 4 years ago
Serghei Iakovlev 807559307d
Use const declarations for variables that are never reassigned (#322) 4 years ago
Evgenii Korolevskii b27afcd9c2 format 4 years ago
Evgenii Korolevskii 65f50caf42 use actual version in key 4 years ago
Evgenii Korolevskii 89d7939d38 use real version instead of spec 4 years ago
Evgenii Korolevskii 2e7414f276 try get path 4 years ago
Evgenii Korolevskii de201a09c0 log version-spec 4 years ago
Evgenii Korolevskii 17106403fa
Allow to use only GOCACHE for cache (#305) 4 years ago
Jongwoo Han bb5ff97ab9
refactor: Use early return pattern to avoid nested conditions (#302) 4 years ago
Dmitry Shibanov 6edd4406fa
fix log for stable aliases (#303) 4 years ago
Milos Pantic 38dbe75f81
Add stable and oldstable aliases (#300) 4 years ago
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
4 years ago
Dmitry Shibanov 27b43e1b0d
Pass the token input through on GHES (#277) 4 years ago
koba1t 7678c83214
add support gowork for go-version-file 4 years ago
n33pm c4a742cab1
fix(): cache resolve version input (#267) 4 years ago
Evgenii Korolevskii c4e169859f prettier format 4 years ago
Evgenii Korolevskii db58e98a43 format 4 years ago
Evgenii Korolevskii 5547b9ed8d fix(cache): Not throw err if no cache folders 4 years ago
Evgenii Korolevskii be45b2722d build 4 years ago
Milos Pantic 268d8c0ca0
Add support for arm32 go arch (#253) 4 years ago
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>
4 years ago
Vladimir Safonkin 9eecd2d0d7 Minor fix 4 years ago
Vladimir Safonkin 0fd92001e9 Rework cache handling 4 years ago
Vladimir Safonkin 6036aa2424 Add cache error handling 4 years ago
IvanZosimov b22fbbc292
Implementation of caching functionality for setup-go action (#228) 4 years ago
So Jomura 265edc1beb
Add go-version-file option (#62) 5 years ago
Brian Cristante 193b404f8a
Successfully set up (#231) 5 years ago
Vladimir Safonkin ad70bef2ef Fix condition for old go versions 5 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>
5 years ago
Fraser Waters 0b4fbc55f6 await io.mkdirP 5 years ago
Josh Gross 802876f7c7
Fix formatting 5 years ago
Josh Gross 2a34c33bd7
Export `GOROOT` for versions < 1.9 5 years ago