Skip to content

chore(deps): bump axios from 0.21.1 to 1.6.0 in /client #206

chore(deps): bump axios from 0.21.1 to 1.6.0 in /client

chore(deps): bump axios from 0.21.1 to 1.6.0 in /client #206

Workflow file for this run

name: Backend Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
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
- name: Setup elixir
uses: erlef/setup-beam@v1
with:
otp-version: "23.2"
elixir-version: "1.10.3"
- name: Load mix dependency cache
uses: actions/cache@v1
id: mix-cache
with:
path: server/deps
key: ${{ runner.os }}-22.0-1.10-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/server/mix.lock')) }}
- name: Install dependencies
if: steps.mix-cache.outputs.cache-hit != 'true'
run: mix deps.get
working-directory: ./server
- name: Compile
run: mix compile --warnings-as-errors
working-directory: ./server
- name: Check formatting
run: mix format --check-formatted
working-directory: ./server
- name: Run Credo
run: mix credo --strict
working-directory: ./server
- name: Load PLT Cache
uses: actions/cache@v1
id: plt-cache
with:
path: server/priv/plts
key: ${{ runner.os }}-22.0-1.10-plts-${{ hashFiles(format('{0}{1}', github.workspace, '/server/mix.lock')) }}
- name: Create PLTs
if: steps.plt-cache.outputs.cache-hit != 'true'
run: |
mkdir -p server/priv/plts
mix dialyzer --plt
working-directory: ./server
- name: Run dialyzer
run: mix dialyzer --no-check --halt-exit-status
working-directory: ./server
- name: Run tests
run: mix test
working-directory: ./server