Skip to content

feat: add boosts

feat: add boosts #740

Workflow file for this run

name: CI style
on:
pull_request:
branches: [main]
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: [24.x]
elixir: [1.13.x]
node: [16.x]
steps:
- uses: actions/checkout@v2
- name: Setup elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Setup nodejs
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- uses: actions/cache@v2
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-mix-
- name: Install dependencies
run: mix do deps.get, cmd --cd assets npm install
- name: Check code formating
run: mix format --check-formatted
- name: Lint the code
run: mix credo --strict