Skip to content

Add prototype for diagram generation and fixes for credo and dialyzer #70

Add prototype for diagram generation and fixes for credo and dialyzer

Add prototype for diagram generation and fixes for credo and dialyzer #70

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: '1.18.1'
otp-version: '27.0'
- name: Install dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Check formatting
run: mix format --check-formatted
- name: Run Credo (linter)
run: mix credo --strict
- name: Run Dialyzer (static analysis)
run: mix dialyzer
- name: Run tests
run: mix test