Merge pull request #1 from linusdm/diff_symbol_first_character_of_line #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: push | |
jobs: | |
ci: | |
env: | |
MIX_ENV: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: '24' | |
elixir-version: '1.13.3' | |
- name: Install dependencies | |
run: mix deps.get | |
- name: Check formatting | |
run: mix format --check-formatted | |
- name: Run mix deps.compile | |
run: mix deps.compile | |
- name: Run mix compile | |
run: mix compile --warnings-as-errors | |
- name: Run tests | |
run: mix test |