Commit Graph

221 Commits

Author SHA1 Message Date
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) 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
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
Dmitry Shibanov 865dc0ce0e fix tests and change to dirname 2022-02-24 11:29:47 +03:00
Dmitry Shibanov ac150f8555 regenerate dependencies 2022-02-24 11:11:45 +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
Sergey Gaynetdinov 44e221478f
Replace 'ubuntu-16.04' -> 'ubuntu-latest' (#180) 2022-01-12 09:40:09 +03:00
Brian Cristante 424fc82d43
Merge pull request #179 from oscard0m/add-cache-to-node-workflows
ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows
2021-12-20 15:07:26 -05:00
Oscar Dominguez 82388ea9d4 ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows 2021-12-20 17:24:01 +01:00
Dominik Honnef fdeec47002
Don't require relative paths to start with ./ or ../ (#98) 2021-12-17 18:47:05 +03:00
Sergey-Murtazin 3e9d5483e6
Add semver note to documentation (#164) 2021-12-01 14:10:32 +03:00
Masahiro Furudate 02f7ea9f09
Fix yaml indent (#59) 2021-11-08 13:28:08 +03:00
Sergey-Murtazin 5805cf725b
Add issue and pull request templates (#163) 2021-10-20 12:15:51 +03:00
MaksimZhukov 35030c1fd2
Merge pull request #162 from dmitry-shibanov/v-dmshib/update-dependencies
Update dependencies
2021-10-14 13:06:56 +03:00
Dmitry Shibanov 59d644db2a update dependencies 2021-10-13 18:48:38 +03:00
Josh Gross 76929df236
Merge pull request #147 from brcrista/brcrista/check-dist
Create check-dist.yml
2021-08-31 12:05:50 -04:00