chore(deps): update dependency dialyxir to v1.4.5 #1304
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: test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
MIX_ENV: test | |
RUSTLER_PRECOMPILATION_MEDIASOUP_BUILD: "true" | |
jobs: | |
test: | |
timeout-minutes: 40 | |
name: Build and test | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
rust: | |
- stable | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: '1.13.4' # Define the elixir version [required] | |
otp-version: '25.3' # Define the OTP version [required] | |
- name: Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
- name: Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
override: true | |
components: rustfmt, clippy | |
- name: Restore dependencies cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target | |
deps | |
_build | |
key: ${{ runner.os }}-rust-${{ matrix.rust }}-mix-${{ hashFiles('**/mix.lock') }} | |
restore-keys: ${{ runner.os }}-rust-${{ matrix.rust }}-mix- | |
- name: Install dependencies | |
run: mix deps.get | |
- name: Run check formatted on elixir | |
run: mix format --check-formatted | |
- name: start epmd daemon for cluster tests | |
run: epmd -daemon | |
- name: Run tests | |
run: mix test | |
- name: Run tests with coverage | |
run: mix coveralls.github | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Leak check test | |
run: mix test --include leakcheck | |
- name: Run dialyzer | |
run: mix dialyzer |