Commit Graph

521 Commits

Author SHA1 Message Date
Paulo F. Oliveira 9283f857f1 Improve warning message for missing ImageOS env. variable (self-hosted runners) (#59) v1.8.2 2021-07-12 18:35:08 +01:00
Paulo F. Oliveira 830642517c Improve visibility (+ fix bugs) over version-type and opt-in versions (#57)
(and tweak README regarding action versioning)
v1.8.1
2021-07-09 10:11:50 +01:00
Paulo F. Oliveira d8a37f5aac Improve on "Add Windows to the mix" (#52)
* Support more OTP+Windows versions (try to bridge the gap with gleam-lang/setup-erlang that seems to support pre-21 versions)
* Merge ci.yml and test.yml
* Add Elixir to the Windows mix
* Hopefully improve error/warning messages
* Adapt the doc.s to the current reality
* Add option version-type (loose by default, for compatibility)
v1.8.0
2021-07-08 15:35:25 +01:00
Paulo F. Oliveira 82b4475ba2 Add Windows to the mix (#49) 2021-06-24 21:58:51 +01:00
Paulo F. Oliveira dd4eb24e91 Adapt test var. naming to current reality (#47) 2021-06-09 16:21:33 +01:00
Paulo F. Oliveira e6db7bde79 Add Erlang 24 to README and some more info on version matching (#45) 2021-06-09 15:59:44 +01:00
Paulo F. Oliveira 31cf3db78c Ease maintenance (#43) 2021-05-28 14:49:33 +01:00
Paulo F. Oliveira 11d59b146c Allow for latest 100 rebar3 versions when fetching from GitHub (#42) v1.7 v1.7.2 2021-05-27 20:28:05 -05:00
Wojtek Mach e332dc64ad Change how we print installed Elixir version (#36) 2021-05-26 13:29:59 +02:00
Paulo F. Oliveira b50aa18219 v1.7.1 (#35) v1.7.1 2021-05-15 00:29:16 +01:00
Paulo F. Oliveira a550a4c889 Coerce non-semver into semver (#34) 2021-05-15 00:07:41 +01:00
Paulo F. Oliveira d2707f347b Tweak our test combos (#31) 2021-04-19 23:17:55 +01:00
Paulo F. Oliveira 78d10b5f61 v1.7.0 (#30) v1.7.0 2021-04-03 00:31:42 +01:00
Paulo F. Oliveira f05ed1cf77 Add Erlang/OTP v. Ubuntu compatibility list (#27) 2021-03-31 22:00:01 +01:00
Paulo F. Oliveira 1f3954e2a3 Reduce size of dist (#26) 2021-03-31 19:18:27 +01:00
Paulo F. Oliveira 46b1995d92 Aim for warningless (and more complete) test coverage on rebar3 and mix (#25) 2021-03-31 18:52:14 +01:00
Paulo F. Oliveira 0b481810f8 Apply stricter linting (#24) 2021-03-30 21:58:09 +01:00
Paulo F. Oliveira 89cb00455a Introduce rebar-version (#9)
Previously (Remove redundant code) (+27 squashed commits)
Squashed commits:
[0b79c31] Rename as setup-beam
[312b42b] Simplify platform verification
[b43ca96] Prevent use of OTP- prefixed Erlang/OTP versions
[103a236] Move the promise-based approach to an async-based approach

(not testing for failure, so not guaranteeing readable/usable output either)
[1e7f631] Remove local test files
[d03e0c6] Prevent use of -otp- infixed Elixir versions
[697110e] Have versions output in action, not just in tests
[7360781] Ease test validations
[71e6999] Reinstall tests that were there before
[6602f20] Attempt at simplifying regexp matching with build listings
[09247af] Provide for an Elixir to "not OTP" fallback mechanism

(as explained by the comments)
[dfc4083] Attempt at renaming for clarity

We also get rid of return values when not reachable
We also move the `-otp-` part of the Elixir version upstream so it's easy to reason about
  (and update the tests accordingly)
[0d4eb28] Bump our dep.s

(trying to figure out why core.setFailed isn't making the action fail, as it should)
[ebf48ef] Have action fail (with an exception) when no expected version is found

(we otherwise feel that a simple warning is not enough, as it may end up hiding potential bugs)
[8478364] Adapt tests to our actual inputs
[16ea63d] Add prettier again, now sync'ed with jslint

(pass it on the code, already)
[cfc65df] Improve error messages and tests
[a017948] Test unavailable Elixir upon mix
[7f2a3e9] Test failing installations

Also output core.error when expected
[08061ca] Attempt at making shell scripts more robust
[4ee73cb] Separate test code from production code

1. inputs (for CI) are managed by code, not by .yml env. variables
2. rebar3_builds.txt added for stable repeatability
3. tests tweaked to make it easier to modify and drop dependency on production code
4. `dist` regenerated (duplicate files gone)
5. setup-elixir.js tweaked to this new reality
[d17fed4] Remove prettier from the package
[7d6f8f5] Actually break CI when we should
[b972eaf] Remove unrequired element
[0ffa28a] Ease maintenance and readability
[4690169] Fix as per broken tests
[a1371c6] Merge setup-erlang in
2021-03-30 11:54:20 -05:00
Bryan Paxton 86521d7b4d Rename to setup-beam (#21) 2021-03-29 14:51:27 -05:00
Eric Meadows-Jönsson 885971a72e v1.6.0 v1.6 v1.6.0 2021-01-21 14:20:44 +00:00
Bryan Paxton b9b3074680 Change occurences of actions/setup-elixir to erlef/setup-elixir (#2)
* Change all occurrences of actions/setup-elixir to erlef/setup-elixir
2021-01-19 15:20:06 -06:00
Bryan Paxton 560ba82c46 Merge pull request #1 from erlef/emj/otp-branches
Install OTP branches
2021-01-19 14:58:57 -06:00
Eric Meadows-Jönsson 4edd0cd12d Install OTP branches 2021-01-12 02:21:05 +00:00
Eric Meadows-Jönsson 3622b49cdd Remove experimental-otp 2021-01-12 00:51:05 +00:00
Jonathan Clem 96441ef64f Merge pull request #46 from deniskulicek/parametrize-otp-os-version
Fetch OTP release based on ImageOS environment variable
2020-11-17 08:26:49 -05:00
Denis Kulicek 6c1b312521 Update action.yml description 2020-10-29 14:30:42 +01:00
Denis Kulicek 2e57bfa4c5 Update action.yml with experimental-otp input 2020-10-29 14:28:26 +01:00
Denis Kulicek 7b728b73d0 Add experimental-otp input opt-in flag 2020-10-29 14:27:52 +01:00
Denis Kulicek d114e80cc4 Add osVersion parameter based on ImageOS env variable 2020-10-28 16:20:42 +01:00
Jonathan Clem 584173361f Merge pull request #44 from thboop/main
Swap to Environment Files
v1.4 v1.4.2
2020-09-29 12:02:50 -04:00
Thomas Boop 9a85e287d8 update licenses 2020-09-29 10:39:10 -04:00
Thomas Boop 5849652165 Swap to Environment Files 2020-09-29 10:38:38 -04:00
Jonathan Clem 7a03a874e9 v1.4.1 v1.4.1 2020-09-17 12:14:31 -04:00
Jonathan Clem 36fa5b27cc Merge pull request #42 from actions/unit-tests
Add basic unit tests for semver matching
2020-09-16 15:11:29 -04:00
Jonathan Clem 9c4ab7bf20 Revert package updates 2020-09-16 15:09:54 -04:00
Jonathan Clem e0c9b41009 Use plain assert testing 2020-09-16 15:05:55 -04:00
Jonathan Clem c59c7ac8b6 Add pre-releases to integration tests 2020-09-16 14:58:19 -04:00
Jonathan Clem f39b7c3537 Add basic unit tests 2020-09-16 14:56:15 -04:00
Jonathan Clem 0899ea85a5 Merge pull request #40 from actions/fix-37
Use VSCode plugin's problem matchers
2020-08-06 14:15:14 -04:00
Jonathan Clem 7c582eb4ae Update README.md 2020-08-05 14:06:40 -04:00
Jonathan Clem dc294cd350 Update MATCHER_NOTICE.md 2020-08-05 14:06:26 -04:00
Jonathan Clem ae203d55c6 Remove extra digit group from test matcher 2020-08-05 13:18:54 -04:00
Jonathan Clem b95d2a9ab0 s/location/line 2020-08-05 13:17:18 -04:00
Jonathan Clem bae0896578 Use VSCode plugin's problem matchers 2020-08-05 13:08:02 -04:00
Jonathan Clem 230dd25d80 v1.4.0 v1.4.0 2020-08-05 11:02:48 -04:00
Jonathan Clem 4f853c6bfd Merge pull request #38 from actions/remove-yarn
Remove yarn.lock/yarn instructions
2020-08-05 11:00:35 -04:00
Jonathan Clem b7580a9be3 Remove yarn.lock/yarn instructions 2020-08-05 10:59:58 -04:00
Jonathan Clem 96cd61eab7 Merge pull request #36 from doughsay/outputs
Adds exact installed versions of Elixir and OTP as outputs
2020-08-05 10:59:19 -04:00
Jonathan Clem d6ff32ddb2 Add workflow_dispatch to workflow file 2020-08-05 10:56:08 -04:00
Jonathan Clem 60977d4297 Add runtime outputs to workflow file 2020-08-05 10:55:56 -04:00