Skip to content

remove jj-specific instructions from CLAUDE.md #57

remove jj-specific instructions from CLAUDE.md

remove jj-specific instructions from CLAUDE.md #57

Workflow file for this run

name: Elixir CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
MIX_ENV: test
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
name: Test on OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: ["27.3.4.2"]
elixir: ["1.18.4"]
steps:
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y ffmpeg imagemagick
- name: Checkout code
uses: actions/checkout@v4
- name: Cache deps
id: cache-deps
uses: actions/cache@v4
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-
- name: Cache compiled build
id: cache-build
uses: actions/cache@v4
with:
path: _build
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-
- name: Install dependencies
run: mix deps.get
- name: Compiles without warnings
run: mix compile --warnings-as-errors --force
- name: Check Formatting
run: mix format --check-formatted || echo "::warning::Code formatting issues detected. Run 'mix format' to fix."
continue-on-error: true
- name: Run migrations
run: mix ecto.migrate
- name: Run tests
run: mix test