Skip to content

feat: Nx.reverse (#25) #175

feat: Nx.reverse (#25)

feat: Nx.reverse (#25) #175

Workflow file for this run

name: CI
on:
pull_request:
push:
jobs:
main:
runs-on: ubuntu-latest
env:
CANDLEX_NIF_BUILD: true
strategy:
fail-fast: false
matrix:
include:
- elixir_version: 1.15.7
otp_version: 26.1.2
lint: true
- elixir_version: 1.14.5
otp_version: 25.3.2.7
steps:
- uses: actions/checkout@v4
- run: cargo fmt --check --manifest-path=native/candlex/Cargo.toml
if: ${{ matrix.lint }}
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp_version}}
elixir-version: ${{matrix.elixir_version}}
- run: mix deps.get
- run: mix format --check-formatted
if: ${{ matrix.lint }}
- run: mix deps.unlock --check-unused
if: ${{ matrix.lint }}
- run: mix deps.compile
- run: mix compile --warnings-as-errors
if: ${{ matrix.lint }}
- run: mix test