Update versions as to not have CI fail (while fixing "non-failing" CI) (#164)

* Make README links usable

* Update versions under test

Otherwise it silently fails with "Error: Requested Erlang/OTP version
(23.2) not found in version list (should you be using option
'version-type': 'strict'?)", which is not too important since this
happens when setup-beam.js is included (which happens in the test
environment only)

* Fix failing Gleam test

I think `gleam check` requires OTP (execution complains about missing
`escript`) where `gleam format` does not
This commit is contained in:
Paulo F. Oliveira
2022-12-12 00:33:12 +00:00
committed by GitHub
parent 96fce952fd
commit aee3f52e58
3 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -179,10 +179,10 @@ jobs:
cd test-projects/erlang_rebar3 cd test-projects/erlang_rebar3
rebar3 ct rebar3 ct
if: ${{matrix.combo.rebar3-version}} if: ${{matrix.combo.rebar3-version}}
- name: Type check Gleam project (without installing Erlang/OTP) - name: Format Gleam project (without installing Erlang/OTP)
run: | run: |
cd test-projects/gleam_gleam cd test-projects/gleam_gleam
gleam check gleam format
if: ${{ matrix.combo.gleam-version && !matrix.combo.otp-version }} if: ${{ matrix.combo.gleam-version && !matrix.combo.otp-version }}
- name: Run Gleam project tests (without `rebar3`) - name: Run Gleam project tests (without `rebar3`)
run: | run: |
+6 -6
View File
@@ -1,12 +1,12 @@
<!-- markdownlint-disable MD013 --> <!-- markdownlint-disable MD013 -->
# setup-beam [![GitHub Actions][action-img]][action] [![GitHub Actions][ubuntu-img]][ubuntu] [![GitHub Actions][windows-img]][windows] # setup-beam [![GitHub Actions][action-img]][action] [![GitHub Actions][ubuntu-img]][ubuntu] [![GitHub Actions][windows-img]][windows]
[action]: https://github.com/erlef/setup-beam [action]: https://github.com/erlef/setup-beam/actions/workflows/action.yml
[action-img]: https://github.com/erlef/setup-beam/workflows/action/badge.svg [action-img]: https://github.com/erlef/setup-beam/actions/workflows/action.yml/badge.svg
[ubuntu]: https://github.com/erlef/setup-beam [ubuntu]: https://github.com/erlef/setup-beam/actions/workflows/ubuntu.yml
[ubuntu-img]: https://github.com/erlef/setup-beam/workflows/ubuntu/badge.svg [ubuntu-img]: https://github.com/erlef/setup-beam/actions/workflows/ubuntu.yml/badge.svg
[windows]: https://github.com/erlef/setup-beam [windows]: https://github.com/erlef/setup-beam/actions/workflows/windows.yml
[windows-img]: https://github.com/erlef/setup-beam/workflows/windows/badge.svg [windows-img]: https://github.com/erlef/setup-beam/actions/workflows/windows.yml/badge.svg
This action sets up an Erlang/OTP environment for use in a GitHub Actions This action sets up an Erlang/OTP environment for use in a GitHub Actions
workflow by: workflow by:
+3 -3
View File
@@ -1,6 +1,6 @@
simulateInput('otp-version', '23.2') simulateInput('otp-version', '25.1.2')
simulateInput('elixir-version', '1.11') simulateInput('elixir-version', '1.14.2')
simulateInput('rebar3-version', '3.14') simulateInput('rebar3-version', '3.20')
simulateInput('install-rebar', 'true') simulateInput('install-rebar', 'true')
simulateInput('install-hex', 'true') simulateInput('install-hex', 'true')