Commit graph

159 commits

Author SHA1 Message Date
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
Vladimir Safonkin 115d6e6004
Set LF for all files (#214)
* Set LF for all files

* Set gitattr text=auto
2022-04-07 11:31:36 -04:00
Peter Mescalchin bf7ccf173e
Correct some small README.md formatting typos (#213) 2022-04-01 09:27:16 -04:00
Peter Mescalchin dcb4ec94ce
Bump GitHub actions, README.md cleanups (#202)
* Bump `actions/checkout@v3`

* Bump `actions/setup-node@v3`

* Bump `actions/upload-artifact@v3`

* Bump `actions/setup-go@v3` in `README.md` examples

* Removed mention of `stable` action argument from `README.md`

* Add "new style" workflow build buttons to `README.md`
2022-03-31 15:29:52 -04: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
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
Dmitry Shibanov fb9a043dd8
Update default runtime to node16 (#192) 2022-02-22 18:25:23 +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
Josh Gross b06835a88c
Merge pull request #155 from brcrista/brcrista/npm-audit-fix
Fix `npm audit` issues
2021-08-31 12:05:05 -04:00
Brian Cristante b8a24202e2 Update Jest 2021-08-31 10:44:51 -04:00
Brian Cristante e234d99c78 Run npm audit fix 2021-08-31 09:35:58 -04:00
Josh Gross 0ea1f64ec9
Merge pull request #87 from ineiti/patch-1
Reference latest setup-go
2021-08-30 17:57:13 -04:00
Josh Gross 331ce1d993
Merge pull request #141 from paulcacheux/fix-windows-extractor-selection
Fix extractor selection on windows
2021-08-25 11:43:04 -04:00
Josh Gross 1087a81afd
Merge pull request #146 from actions/joshmgross/add-release-workflow
Add release action version workflow
2021-08-25 11:41:46 -04:00
Josh Gross ecd878f81d
Add release action version workflow 2021-08-25 11:38:05 -04:00
Brian Cristante eca066937b Fix triggers in licensed.yml 2021-08-25 11:29:44 -04:00
Brian Cristante e816064dae Add check-dist.yml 2021-08-25 11:29:44 -04:00
Paul Cacheux bba6fe1d58 Fix extractor selection on windows 2021-08-19 21:32:02 +02:00
Josh Gross 3b4dc6cbed
Merge pull request #90 from actions/joshmgross/add-codeowners
Add CODEOWNERS
2020-12-09 11:22:47 -05:00
Josh Gross afe68ffd57
Add CODEOWNERS 2020-12-07 15:56:41 -05:00