diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 4d0ac51..04c2778 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -179,10 +179,10 @@ jobs: cd test-projects/erlang_rebar3 rebar3 ct if: ${{matrix.combo.rebar3-version}} - - name: Type check Gleam project (without installing Erlang/OTP) + - name: Format Gleam project (without installing Erlang/OTP) run: | cd test-projects/gleam_gleam - gleam check + gleam format if: ${{ matrix.combo.gleam-version && !matrix.combo.otp-version }} - name: Run Gleam project tests (without `rebar3`) run: | diff --git a/README.md b/README.md index 5c976c0..9f3c413 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # 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-img]: https://github.com/erlef/setup-beam/workflows/action/badge.svg -[ubuntu]: https://github.com/erlef/setup-beam -[ubuntu-img]: https://github.com/erlef/setup-beam/workflows/ubuntu/badge.svg -[windows]: https://github.com/erlef/setup-beam -[windows-img]: https://github.com/erlef/setup-beam/workflows/windows/badge.svg +[action]: https://github.com/erlef/setup-beam/actions/workflows/action.yml +[action-img]: https://github.com/erlef/setup-beam/actions/workflows/action.yml/badge.svg +[ubuntu]: https://github.com/erlef/setup-beam/actions/workflows/ubuntu.yml +[ubuntu-img]: https://github.com/erlef/setup-beam/actions/workflows/ubuntu.yml/badge.svg +[windows]: https://github.com/erlef/setup-beam/actions/workflows/windows.yml +[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 workflow by: diff --git a/__tests__/setup-beam.test.js b/__tests__/setup-beam.test.js index 3e715d5..4013f31 100644 --- a/__tests__/setup-beam.test.js +++ b/__tests__/setup-beam.test.js @@ -1,6 +1,6 @@ -simulateInput('otp-version', '23.2') -simulateInput('elixir-version', '1.11') -simulateInput('rebar3-version', '3.14') +simulateInput('otp-version', '25.1.2') +simulateInput('elixir-version', '1.14.2') +simulateInput('rebar3-version', '3.20') simulateInput('install-rebar', 'true') simulateInput('install-hex', 'true')