Skip to content

Previous Ex-Xirr Fixes #11

Previous Ex-Xirr Fixes

Previous Ex-Xirr Fixes #11

Workflow file for this run

name: Pull Request Workflow
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
push:
branches:
- main
jobs:
test:
name: Elixir Tests
runs-on: ubuntu-latest
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: "27.1"
elixir-version: "1.17.3"
- uses: actions/cache@v4
id: cache
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: mix deps.get
- name: Compile
run: mix compile --warnings-as-errors
- name: Check code formatting
run: mix format --check-formatted
- name: Run Elixir tests
run: mix coveralls