31 Commits

Author SHA1 Message Date
Paulo F. Oliveira 1f3954e2a3 Reduce size of dist (#26) 2021-03-31 19:18:27 +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 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
Eric Meadows-Jönsson 4edd0cd12d Install OTP branches 2021-01-12 02:21:05 +00: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 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 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 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
Jonathan Clem 693ea64d7f Update licensed.yml 2020-08-04 12:27:18 -04:00
Jonathan Clem ceecbf34d4 Replace default branch refs with main 2020-07-14 16:32:14 -04:00
Jonathan Clem c1e55db782 Install tools into RUNNER_TEMP/.setup-elixir 2020-05-18 16:38:30 -04:00
Jonathan Clem 22296354db Specify all versions as strings 2020-05-17 10:59:06 -04:00
Jonathan Clem 920f341bb8 Add exact test versions 2020-05-17 10:57:29 -04:00
Jonathan Clem 66a8e10a5c Add older and newer Elixir/OTP versions 2020-05-17 10:54:50 -04:00
Jonathan Clem 13359dc7e8 Add Prettier license cache 2020-05-14 16:32:21 -04:00
Jonathan Clem 9455766452 Update actions/checkout to v2 2020-05-14 16:25:34 -04:00
Jonathan Clem bff9ed892e Fix licensed check 2020-05-14 16:19:55 -04:00
Jonathan Clem fa3dc4b442 Merge branch 'master' into emj/hex 2019-12-04 13:49:24 -05:00
Mijail Rondon c1ab867da9 Add error and warning matchers 2019-11-27 13:46:21 -05:00
Mijail Rondon dfb9431cd0 Problem matcher elixir 2019-11-26 23:32:07 -05:00
Eric Meadows-Jönsson 71a9eee041 Support elixir branches 2019-11-18 00:03:58 +01:00
Jonathan Clem cf30cd9eeb Curl to file 2019-08-28 17:41:54 -04:00
Jonathan Clem d8384307ce Use Licensed without Ruby 2019-08-28 17:35:24 -04:00
Jonathan Clem 8b75b3d52e Use Ruby 2.x 2019-08-28 17:27:18 -04:00
Jonathan Clem c8c376ebbb Add a licensed workflow 2019-08-28 17:25:36 -04:00
Jonathan Clem 83d6ee76a6 Initial commit 2019-08-28 16:49:59 -04:00