Skip to content

fix: eliminate dead-code false positives from optimistic effect classification #498

fix: eliminate dead-code false positives from optimistic effect classification

fix: eliminate dead-code false positives from optimistic effect classification #498

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
MIX_ENV: test
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- elixir: "1.19"
otp: "27"
- elixir: "1.20"
otp: "29"
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- uses: actions/cache@v4
with:
path: |
deps
_build
dev/calibration/deps
dev/calibration/_build
key: mix-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock', 'dev/calibration/mix.lock') }}
restore-keys: mix-${{ matrix.otp }}-${{ matrix.elixir }}-
- uses: actions/cache@v4
with:
path: _build/dev/dialyxir*.plt
key: plt-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('mix.lock') }}
restore-keys: plt-${{ matrix.otp }}-${{ matrix.elixir }}-
- uses: actions/cache@v4
with:
path: ~/.cache/reach/smell-corpus
key: smell-corpus-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('test/support/smell_corpus.ex') }}
- run: mix deps.get
- run: mix deps.get
working-directory: dev/calibration
if: matrix.elixir == '1.20'
- run: mix ci
if: matrix.elixir == '1.20'
- run: mix compile --warnings-as-errors && mix test
if: matrix.elixir != '1.20'