Skip to content

build(deps-dev): bump credo from 1.7.1 to 1.7.2 #266

build(deps-dev): bump credo from 1.7.1 to 1.7.2

build(deps-dev): bump credo from 1.7.1 to 1.7.2 #266

Workflow file for this run

on:
push:
branches:
- dev
pull_request:
branches:
- dev
- master
jobs:
check:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: [25.0.0]
elixir: [1.14.5]
env:
MIX_ENV: dev
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
services:
postgres:
image: postgres
ports: ['5432:5432']
env:
POSTGRES_USER: tenantee
POSTGRES_PASSWORD: tenantee
POSTGRES_DB: tenantee_dev
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: getong/redis-action@v1
with:
redis version: '7.0.11'
redis password: 'tenantee_redis'
- uses: actions/[email protected]
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- run: MIX_ENV=dev mix deps.get
- run: MIX_ENV=dev mix credo
- run: MIX_ENV=dev mix sobelow
- run: MIX_ENV=test mix ecto.create && mix ecto.migrate
- run: MIX_ENV=test mix coveralls.github