Skip to content

Kayrock migrate leave group #207

Kayrock migrate leave group

Kayrock migrate leave group #207

Workflow file for this run

name: CI Checks
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
checks:
name: Static Code Analysis
runs-on: ubuntu-22.04
timeout-minutes: 20
env:
MIX_ENV: dev
strategy:
matrix:
elixir: ['1.18']
otp: ['27.2']
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Elixir & Erlang
uses: erlef/setup-beam@v1.18
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- name: Restore dependencies cache
uses: actions/cache@v4
with:
path: |
deps
_build
priv/plts
key: ${{ runner.os }}-mix-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-${{ matrix.otp }}-${{ matrix.elixir }}-
- name: Install dependencies
run: |
mkdir -p priv/plts
mix local.rebar --force
mix local.hex --force
mix deps.get
mix deps.compile
- name: Build PLT
run: mix dialyzer --plt
- name: Compile with warnings as errors
run: mix compile --warnings-as-errors
- name: Check code format
run: mix format --check-formatted
- name: Run Credo
run: mix credo --strict
- name: Run Dialyzer
run: mix dialyzer