fix: Include Elixir lib in ERL_LIBS for remote peer #143
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Terrarium | |
| on: | |
| pull_request: | |
| push: | |
| permissions: | |
| contents: read | |
| jobs: | |
| compile: | |
| name: Compile without warnings | |
| runs-on: ubuntu-latest | |
| env: | |
| MIX_ENV: test | |
| steps: | |
| - name: Check out the repository | |
| uses: actions/checkout@v6 | |
| - name: Install BEAM tooling with mise | |
| uses: jdx/mise-action@v4 | |
| with: | |
| cache: true | |
| - name: Install Hex and Rebar | |
| run: | | |
| mix local.hex --force | |
| mix local.rebar --force | |
| - name: Fetch dependencies | |
| run: mix deps.get | |
| - name: Compile dependencies | |
| run: mix deps.compile | |
| - name: Compile without warnings | |
| run: mix compile --warnings-as-errors | |
| test: | |
| name: Run tests | |
| runs-on: ubuntu-latest | |
| env: | |
| MIX_ENV: test | |
| steps: | |
| - name: Check out the repository | |
| uses: actions/checkout@v6 | |
| - name: Install BEAM tooling with mise | |
| uses: jdx/mise-action@v4 | |
| with: | |
| cache: true | |
| - name: Install Hex and Rebar | |
| run: | | |
| mix local.hex --force | |
| mix local.rebar --force | |
| - name: Fetch dependencies | |
| run: mix deps.get | |
| - name: Run test suite | |
| run: mix test | |
| format: | |
| name: Check formatting | |
| runs-on: ubuntu-latest | |
| env: | |
| MIX_ENV: test | |
| steps: | |
| - name: Check out the repository | |
| uses: actions/checkout@v6 | |
| - name: Install BEAM tooling with mise | |
| uses: jdx/mise-action@v4 | |
| with: | |
| cache: true | |
| - name: Install Hex and Rebar | |
| run: | | |
| mix local.hex --force | |
| mix local.rebar --force | |
| - name: Fetch dependencies | |
| run: mix deps.get | |
| - name: Compile formatter dependencies | |
| run: mix deps.compile | |
| - name: Check formatting | |
| run: mix format --check-formatted |