Merge pull request #96 from walu-lila/bugfix/upgrade-version-dependen… #72
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: Elixir CI | |
on: | |
push: | |
branches: | |
- develop | |
- master | |
pull_request: | |
branches: | |
- master | |
- develop | |
jobs: | |
check-lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Create dev file | |
run: mv config/dev.sample.exs config/dev.exs | |
- name: Setup elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: '1.12' | |
otp-version: '24' | |
- name: Install Dependencies | |
run: mix deps.get | |
- name: Run Tests | |
run: mix test | |
- name: Check formatting | |
run: mix format --check-formatted | |
- name: Checking compile warnings | |
run: mix compile --warnings-as-errors --force |