Bump rustler_precompiled from 0.7.1 to 0.7.2 #379
Workflow file for this run
This file contains 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: Tests | |
on: | |
push: | |
branches: | |
- main | |
- release/* | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tests: | |
env: | |
MIX_ENV: test | |
MJML_BUILD: true | |
runs-on: ubuntu-latest | |
name: "[${{matrix.otp}}/${{matrix.elixir}}] Tests on mjml_nif [OTP/Elixir]" | |
strategy: | |
fail-fast: false | |
# For compatibility between Elixir & Erlang/OTP see | |
# https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp | |
matrix: | |
otp: [24.3, 25.1, 26.1] | |
elixir: [1.13.4, 1.14.5, 1.15.7, 1.16.1] | |
exclude: | |
- otp: 26.1 | |
elixir: 1.13.4 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
elixir-version: ${{matrix.elixir}} | |
- name: Cache hex deps | |
id: mix-cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
deps | |
_build | |
!_build/*/lib/mjml | |
key: ${{ runner.os }}[${{ matrix.otp }}/${{ matrix.elixir }}]-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | |
- run: mix deps.get | |
- run: mix deps.compile | |
- run: mix compile --warnings-as-errors | |
env: | |
RUST_BACKTRACE: 1 | |
- run: mix test |