Skip to content

feat: use Stow for writing metadata and scrobbles + file read refac… #160

feat: use Stow for writing metadata and scrobbles + file read refac…

feat: use Stow for writing metadata and scrobbles + file read refac… #160

Workflow file for this run

name: Elixir CI
on:
push:
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
env:
MIX_ENV: test
ImageOS: ubuntu20
steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: '1.14.4'
otp-version: '25.1'
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install dependencies
run: mix deps.get
- name: Check formatting
run: mix format --check-formatted
- name: Check code
run: mix credo
- name: Run tests
run: mix test