Commit Graph

45 Commits

Author SHA1 Message Date
Ivan Trubach dcc74252e8 Add support for major release selection
This commit adds 'latest' version alias that resolves to the
latest available release.

The getPossibleVersions function filters available releases using
startsWith(version), so calling getLatestVersion(version) with an
empty string will return the latest release.

Closes #31
2019-12-15 00:12:27 +03:00
Ross Brodbeck 9fbc767707
Merge pull request #30 from hross/master
Change getFileName to do architecture lookups and add arm support
2019-11-25 07:17:19 -05:00
Ross Brodbeck 0cbaec8e4b Change getFileName to do architecture lookups and add arm support 2019-11-21 10:23:32 -05:00
Hayden Faulds 75259a5ae0
Merge pull request #20 from subosito/golang-dl
Use golang-dl release data
2019-09-16 15:42:36 +01:00
Danny McCormick 4efa1b82d1
Deprecate version 2019-09-12 10:36:27 -04:00
Alif Rachmawadi bc6edb526d
update test assertion 2019-09-05 13:27:28 +07:00
Alif Rachmawadi 21620fff65
use golang-dl release data 2019-09-05 13:09:55 +07:00
Danny McCormick 595aed780b
Update .gitignore (#17) 2019-08-27 11:14:02 -04:00
Alif Rachmawadi 632d18fc92 Handle .x version syntax with latest release (#13)
* get latest release for .x syntax version

* added nock as dev dependency

* added test for .x syntax

* updated readme

* updated http client name

* use rest client for getting available versions

* more .x handling

* move nock to setup and teardown
2019-08-19 08:28:37 -04:00
Danny McCormick 5064ef8f2b
Use correct comment character 2019-08-16 10:21:05 -04:00
Danny McCormick 3b60f67c92
Consume toolkit from npm (#9) 2019-08-16 09:43:51 -04:00
Danny McCormick 818723587f
Update to use go-version (#10) 2019-08-13 16:31:11 -04:00
Danny McCormick b98503c960
Add badge 2019-08-12 15:13:31 -04:00
Danny McCormick e7a06beff0
Update action name 2019-08-12 14:41:23 -04:00
Danny McCormick 419ae75c25
Quoting 2019-08-01 11:05:15 -04:00
Danny McCormick 58fca98f91
v1 (#8) 2019-08-01 09:19:30 -04:00
Stephen Franceschelli 136ed85710 Fix build. (#7)
* Fix.

* Husky commit correct node modules
2019-07-30 13:37:35 -04:00
Danny McCormick ffce9ce43f
steps not actions 2019-07-25 22:59:14 -04:00
Bryan MacFarlane fb0fde1081
actions to steps 2019-07-25 21:28:46 -04:00
Danny McCormick a7fe89aa82
Update README.md 2019-07-23 15:46:37 -04:00
Danny McCormick 706cf65fdf
Add checkout 2019-07-23 15:15:32 -04:00
Danny McCormick fb871febfe
Update workflow.yml (#6) 2019-07-23 13:24:08 -04:00
Danny McCormick 41359816c1
Update README.md 2019-07-17 10:50:58 -04:00
Danny McCormick d42247215e
Update workflow.yml (#5) 2019-07-16 14:32:18 -04:00
Danny McCormick 44112531e2
Fix husky 2019-07-12 11:01:07 -04:00
Danny McCormick fc36eb15ce
Merge pull request #4 from actions/v2-workflow
v2 workflow
2019-07-11 16:22:11 -04:00
Danny McCormick 8560958d2f
Delete legacy workflow 2019-07-11 16:20:22 -04:00
Danny McCormick 51413cb992
v2 workflow 2019-07-11 16:16:54 -04:00
Danny McCormick eeb946a217
Update action.yml 2019-07-09 12:44:13 -04:00
Danny McCormick 61f2387086
Merge pull request #2 from actions/features/matcher
Add problem matcher
2019-06-27 18:16:45 -04:00
Danny McCormick 5331f86a70
Merge branch 'master' into features/matcher 2019-06-26 21:02:35 -04:00
Danny McCormick cd65450961
Merge pull request #1 from actions/features/installer
Add installer
2019-06-26 21:01:54 -04:00
Danny McCormick 95028d60ec
Merge pull request #3 from actions/toolkit-update
Update toolkit
2019-06-24 15:10:40 -04:00
Danny McCormick dda5fefc1c Update toolkit 2019-06-24 15:05:39 -04:00
Danny McCormick 90fdf52904 clean up 2019-06-21 14:54:30 -04:00
Danny McCormick 0f39ca7c72 Merge branch 'master' of https://github.com/actions/setup-go into features/installer 2019-06-21 14:21:13 -04:00
Danny McCormick 9241f8ad3a Merge branch 'master' of https://github.com/actions/setup-go into features/matcher 2019-06-21 14:20:46 -04:00
Danny McCormick e615b40442
Rename main.workflow to main.workflow.yml 2019-06-21 14:20:28 -04:00
Danny McCormick 5f2246e3c5 Add problem matcher 2019-06-20 13:51:56 -04:00
Danny McCormick f34fd68566 Add installer 2019-06-20 13:28:39 -04:00
Danny McCormick 886b49b2b3 Merge branch 'master' of https://github.com/actions/setup-go 2019-06-20 13:09:53 -04:00
Danny McCormick 263a218578 Temporarily remove installation so it can be reviewed 2019-06-20 13:09:43 -04:00
Danny McCormick 993cd9ffce
Update action.yml 2019-06-19 10:11:12 -04:00
Danny McCormick cef575caea Metadata changes 2019-06-19 09:56:06 -04:00
Danny McCormick cd176c696b Add setup-go 2019-06-19 09:44:17 -04:00