Skip to content

Tweaks and adjustments to modernize this repo #53

Tweaks and adjustments to modernize this repo

Tweaks and adjustments to modernize this repo #53

Workflow file for this run

name: Elixir CI
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
env:
MIX_ENV: test
strategy:
matrix:
elixir: [1.18.4]
otp: [28.0.2]
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
- uses: actions/cache@v4
with:
path: |
deps
_build
key: mix-${{ runner.os }}-${{matrix.elixir}}-${{matrix.otp}}-${{ hashFiles('**/mix.lock') }}
restore-keys: |
mix-${{ runner.os }}-${{matrix.elixir}}-${{matrix.otp}}-
- run: mix deps.get
- run: mix format --check-formatted
- run: mix credo --strict
- run: mix deps.unlock --check-unused
- run: mix test