IvanZosimov
2490b9d130
Merge branch 'main' into modules-caching
2022-05-04 14:46:41 +02:00
Ivan Zosimov
b91ca81f0e
Change the cache key pattern
2022-05-04 12:07:39 +02:00
Brian Cristante
193b404f8a
Successfully set up ( #231 )
2022-05-03 08:43:40 -04:00
Ivan Zosimov
2d848c0e6a
Fix review points
...
README.md file was updated, removed async declaration in cache-utils
file and changed the error message in cache-save file.
2022-04-27 10:56:45 +02:00
Ivan Zosimov
eedb42bbf8
Sync branch 'modules-caching' with 'actions/setup-go/main'
2022-04-26 12:22:35 +02:00
Ivan Zosimov
5a9c31a7db
Fix message source of the output when cache hit occured
2022-04-21 16:20:47 +02:00
Ivan Zosimov
ede5159e42
Fix review points
2022-04-20 17:36:08 +02:00
Ivan Zosimov
832658fa34
Fixed text of the error
2022-04-20 17:07:52 +02:00
Ivan Zosimov
9bc7dce839
Fix typo
2022-04-20 16:54:50 +02:00
Ivan Zosimov
8c8442b8f8
Change behavior of the exception throwing
2022-04-20 16:43:06 +02:00
Ivan Zosimov
661954d154
Add caching of the compiler's temporary files
2022-04-18 17:57:33 +02: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
Ivan Zosimov
1466d1b901
Add functionality for caching with GHES
2022-04-07 11:44:23 +02:00
Ivan Zosimov
e72fc4648f
Fix cache-save.ts file
2022-04-04 19:50:32 +02:00
Ivan Zosimov
c733861b29
Fix review points
2022-04-04 19:29:29 +02:00
Ivan Zosimov
104f9bb034
Add unit-tests for cache-restore file
2022-03-31 21:19:33 +02:00
Ivan Zosimov
1a1c412f7e
Merge branch 'modules-caching' into modules-caching-tests
2022-03-30 11:00:12 +02:00
Ivan Zosimov
ed123a232f
Merge branch 'main' into modules-caching
2022-03-30 10:18:08 +03: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
Ivan Zosimov (Akvelon INC)
c8d315d95f
Merge branch 'main' into modules-caching
2022-03-05 13:38:05 +03:00
Ivan Zosimov (Akvelon INC)
07ecad3aa8
Add changes before sync with upstream
2022-03-05 13:24:53 +03:00
Ivan Zosimov (Akvelon INC)
4d62da4173
Add some unit tests fot cache-utils.ts file
2022-03-05 11:01:57 +03:00
Ivan Zosimov (Akvelon INC)
2d0c507407
Change cache-save.ts file
2022-03-04 09:51:45 +03:00
Ivan Zosimov (Akvelon INC)
8d80cd6b60
Change code according to review points
2022-02-28 15:30:28 +03:00
Ivan Zosimov (Akvelon INC)
86d1cd689b
Change code according to review points
2022-02-28 14:02:27 +03:00
Dmitry Shibanov
f6164bd8c8
Remove stable input and fix SemVer notation ( #195 )
2022-02-28 10:16:32 +03:00
Ivan Zosimov (Akvelon INC)
2e1e7c7d7e
Make some small changes according to review points
2022-02-24 13:25:48 +03:00
Ivan Zosimov (Akvelon INC)
b2ef77dbb7
Change logic to find matchers.json file
2022-02-24 10:51:21 +03:00
Ivan Zosimov (Akvelon INC)
f7d54db843
Add new file-container for package-managers
...
File package-managers.ts was added.
2022-02-22 15:42:32 +03:00
Ivan Zosimov (Akvelon INC)
30f08b7b11
Fix bug with getting object property by its name
2022-02-22 15:11:41 +03:00
Ivan Zosimov (Akvelon INC)
f2efd31d13
Change code to make it more extandable in future
2022-02-22 14:55:30 +03:00
Ivan Zosimov (Akvelon INC)
d450effe85
Rebuild action with some small changes.
...
Changes were applied to some debug messages.
2022-02-22 12:01:12 +03:00
Ivan Zosimov (Akvelon INC)
8dd60badf6
Change behavior of the post-job
...
If caching is not enabled by action.yml input, save of the cache won't
occur in the post-job.
2022-02-21 18:26:18 +03:00
Ivan Zosimov (Akvelon INC)
a79b7c7694
Change path to matchers.json
2022-02-21 17:11:13 +03:00
Ivan Zosimov (Akvelon INC)
53f5d5ec02
Format files according to Prettier rules and build
2022-02-21 16:29:32 +03:00
Ivan Zosimov (Akvelon INC)
25a133c257
Add logic for modules caching
...
Such files as cache-restore.ts, cache-utils.ts, constants.ts,
cache-save.ts we added. Main.ts file now incorporates logic for using
files mentioned above.
2022-02-21 16:21:14 +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