Skip to content

Update credo to version 1.7.8 #222

Update credo to version 1.7.8

Update credo to version 1.7.8 #222

Workflow file for this run

name: actions
on: push
jobs:
test:
runs-on: ubuntu-latest
env:
MIX_ENV: test
services:
postgres:
image: postgres:12
ports:
- 5432:5432
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- uses: actions/setup-elixir@v1
with:
otp-version: 22.2.6
elixir-version: 1.10.1
- uses: actions/cache@v1
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-mix-
- uses: actions/cache@v1
with:
path: _build
key: ${{ runner.os }}-build-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-build-
- run: mix deps.get
- run: mix compile --warnings-as-errors
- run: mix test
- run: mix format --check-formatted
- run: mix credo --strict