Skip to content

Bump excoveralls from 0.18.2 to 0.18.3 #231

Bump excoveralls from 0.18.2 to 0.18.3

Bump excoveralls from 0.18.2 to 0.18.3 #231

Workflow file for this run

name: Elixir CI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MIX_ENV: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
fail-fast: false
matrix:
include:
- elixir: 1.13.4
otp: 25.2
check_deps: true
check_format: true
credo: true
dialyzer: true
- elixir: 1.14.2
otp: 25.2
check_deps: true
check_format: true
credo: true
dialyzer: true
- elixir: 1.15.7
otp: 26.1.2
check_deps: true
check_format: true
credo: true
dialyzer: true
steps:
- uses: actions/checkout@v4
- name: Install inotify-tools
run: sudo apt-get install -y inotify-tools
- name: Set up Elixir
uses: erlef/setup-elixir@v1
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }}
- name: Restore PLT cache
uses: actions/cache@v3
with:
path: priv/plts
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }}
- name: Install dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Compile prod with warnings as errors
run: MIX_ENV=prod mix compile --warnings-as-errors
- name: Run tests
run: mix coveralls.github
- name: Check formatting
run: mix format --check-formatted
if: ${{ matrix.check_format }}
- name: Check dependencies
run: mix deps.unlock --check-unused
if: ${{ matrix.check_deps }}
- name: Credo
run: mix credo
if: ${{ matrix.credo }}
- name: Dialyzer
run: mix dialyzer
if: ${{ matrix.dialyzer }}