Skip to content

Update GitHub actions #15

Update GitHub actions

Update GitHub actions #15

Workflow file for this run

name: Code Quality
on: [push, pull_request]
jobs:
check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- name: setup
id: setup
uses: erlef/setup-beam@v1
with:
elixir-version: '1.13.4'
otp-version: '25.0'
- name: mix-cache
uses: actions/cache@v4
id: mix-cache
with:
path: deps
key: ${{ runner.os }}-${{ steps.setup.outputs.otp-version }}-${{ steps.setup.outputs.elixir-version }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
- name: mix-deps
if: steps.mix-cache.outputs.cache-hit != 'true'
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: format
run: mix format --check-formatted
- name: credo
run: mix credo --strict