Commit graph

181 commits

Author SHA1 Message Date
Ivan Zosimov
3f2174ee39 Fix actions/cache module version and add tsc command to build command 2022-03-30 11:32:18 +02:00
Ivan Zosimov
ccf8d261da Fix review points and rebuild solution 2022-03-30 11:03:10 +02:00
Ivan Zosimov
ed123a232f Merge branch 'main' into modules-caching 2022-03-30 10:18:08 +03:00
Vladimir Safonkin
341b20ac36
Update usage examples on readme (#212)
* Fix action usage examples on readme

* Revert changes on package-lock

* Fix some checkout action version
2022-03-29 15:16:03 -04:00
Brian Cristante
a5865a93f2
Merge pull request #211 from Frassle/awaitmkdirp
await io.mkdirP
2022-03-28 09:47:39 -04:00
Fraser Waters
13df686579 Update dist 2022-03-28 14:23:54 +01:00
Brian Cristante
8e9a229830
Merge pull request #210 from vsafonkin/v-vsafonkin/update-readme-v3
Update README to v3
2022-03-28 09:19:11 -04:00
Fraser Waters
0b4fbc55f6 await io.mkdirP 2022-03-28 10:54:44 +01:00
Vladimir Safonkin
acdbc5377c Remove stable input description from README 2022-03-28 10:24:34 +02:00
Vladimir Safonkin
3e6475c089 Update README to v3 2022-03-25 09:53:28 +01:00
Brian Cristante
65771601ff
Merge pull request #208 from actions/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2022-03-24 09:32:50 -04:00
dependabot[bot]
fcc0174ef2
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 11:54:47 +00:00
Brian Cristante
75726802f3
Merge pull request #175 from mmlb/do-not-export-GOROOT
Do not export GOROOT for Go versions >= 1.9
2022-03-17 16:02:21 -04:00
Josh Gross
0c03929337
Remove duplicated spyOn 2022-03-14 12:32:36 -04:00
Josh Gross
229eefa42b
Update dist 2022-03-14 12:24:32 -04: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
Brian Cristante
9a1626044c
Merge pull request #204 from actions/joshmgross/service-codeowners
Update CODEOWNERS to actions-service
2022-03-10 13:33:03 -05:00
Josh Gross
24c791c06c
Update CODEOWNERS to actions-service 2022-03-10 13:29:40 -05:00
Manuel Mendez
ec07be593a Add test for export of GOROOT to env var
Signed-off-by: Manuel Mendez <mmendez534@gmail.com>
2022-03-09 08:56:55 -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)
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
Ivan Zosimov (Akvelon INC)
fc2e404438 Merge branch 'main' into modules-caching 2022-02-28 10:45:07 +03:00
Dmitry Shibanov
f6164bd8c8
Remove stable input and fix SemVer notation (#195) 2022-02-28 10:16:32 +03:00
Dmitry Shibanov
2bb2aab2fd
update types node (#194) 2022-02-24 15:07:22 +03:00
Dmitry Shibanov
edcbc0c2cd
update lockfileVersion (#193) 2022-02-24 14:47:08 +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)
b50606f375 Rebuild action 2022-02-24 10:59:56 +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)
b05c2a57a4 Update package-lock.json file 2022-02-24 09:30:33 +03:00
Dmitry Shibanov
fb9a043dd8
Update default runtime to node16 (#192) 2022-02-22 18:25:23 +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)
11d8853723 Change field in the action.yml file
Change modules-manager to package-manager in action.yml file.
2022-02-22 15:04:51 +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)
766a3397b4 Rebuild index.js file for the main job 2022-02-21 17:14:54 +03:00
Ivan Zosimov (Akvelon INC)
a79b7c7694 Change path to matchers.json 2022-02-21 17:11:13 +03:00
Ivan Zosimov (Akvelon INC)
174207d077 Change description of the cache input in action.yml 2022-02-21 17:00:31 +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
Ivan Zosimov (Akvelon INC)
5ba3482d38 Change build script in package.json file
Divided building procedure into two, one for main job, another for
post-job.
2022-02-21 11:58:23 +03:00
Ivan Zosimov (Akvelon INC)
56994f1afd Change action.yml file
Such inputs as 'cache' and 'cache-dependency-path' were added along with
their descriptions.
2022-02-21 11:30:32 +03:00
dependabot[bot]
5b0ae0e97d
Bump pathval from 1.1.0 to 1.1.1 (#188) 2022-02-16 16:47:18 +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