build(deps): bump phoenix_ecto from 4.4.0 to 4.4.2 #250
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
MIX_ENV: test | |
jobs: | |
build: | |
name: Build and test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- otp: 25.1 | |
elixir: 1.14 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{matrix.elixir}} | |
otp-version: ${{matrix.otp}} | |
- name: Dependencies cache | |
uses: actions/cache@v3 | |
with: | |
path: deps | |
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix_deps-${{ hashFiles('**/mix.lock') }} | |
restore-keys: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix_deps- | |
- name: Build cache | |
uses: actions/cache@v3 | |
with: | |
path: _build | |
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-build-${{ hashFiles('**/mix.lock') }} | |
restore-keys: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-build- | |
- name: Install dependencies | |
run: mix do local.rebar --force, local.hex --force, deps.get, compile --warnings-as-errors | |
- name: Check formatting | |
run: mix format --check-formatted | |
- name: Lint | |
run: mix lint | |
- name: Run Dialyzer | |
run: mix dialyzer | |
- name: Run tests w/ coverage | |
run: mix test |