Skip to content

💚 Fix CI

💚 Fix CI #14

Workflow file for this run

name: AyeSQL Checks
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
MIX_ENV: test
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
test:
runs-on: ubuntu-latest
env:
MIX_ENV: "test"
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
name: "Setup Elixir"
with:
otp-version: "26.1.2"
elixir-version: "1.15.7"
- name: "Get dependencies"
run: mix do local.rebar --force, local.hex --force, deps.get
- name: "Compile dependencies"
run: mix deps.compile
- name: "Compile project"
run: mix compile --warnings-as-errors
- name: "Check formatting"
run: mix format --dry-run --check-formatted
- name: "Run tests with coverage"
run: mix coveralls.github
- name: "Run Credo"
run: mix credo