Skip to content

Bump credo from 1.7.7 to 1.7.8 #239

Bump credo from 1.7.7 to 1.7.8

Bump credo from 1.7.7 to 1.7.8 #239

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-20.04
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
fail-fast: false
matrix:
include:
- elixir: 1.14.1
otp: 25.1
- elixir: 1.15.4
otp: 26.0.2
- elixir: 1.16
otp: 26.0.2
check_format: true
check_deps: true
steps:
- uses: actions/checkout@v4
- name: Set up Elixir
uses: erlef/setup-beam@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: Check dependencies
if: ${{ matrix.check_deps }}
run: mix deps.unlock --check-unused
- name: Check formatting
if: ${{ matrix.check_format }}
run: mix format --check-formatted
- name: Credo
run: mix credo
- name: Run tests
run: mix coveralls.github
- name: Dialyzer
run: mix dialyzer