Bump phoenix_live_view from 0.18.18 to 0.20.7 #83
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: Integration Testing | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: Build and test | |
runs-on: ubuntu-20.04 | |
env: | |
MIX_ENV: test | |
strategy: | |
matrix: | |
elixir: [1.12.3, 1.13.4] | |
otp: [24.1] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Lint YAML files | |
run: yamllint . | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.elixir }} | |
otp-version: ${{ matrix.otp }} | |
- name: Restore cached dependencies and build artifacts | |
uses: actions/cache@v2 | |
with: | |
path: | | |
deps | |
_build | |
key: mix-${{ runner.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('**/mix.lock') }} | |
- name: Install dependencies | |
run: mix deps.get | |
- name: Check formatting | |
run: mix format --check-formatted | |
- name: Check for unused dependencies | |
run: mix deps.unlock --check-unused | |
- name: Compile dependencies | |
run: mix deps.compile | |
- name: Compile sources | |
run: mix compile --warnings-as-errors | |
- name: Run Credo | |
run: mix credo --strict | |
- name: Run tests | |
run: mix test |