Skip to content

Bump credo from 1.7.5 to 1.7.6 #43

Bump credo from 1.7.5 to 1.7.6

Bump credo from 1.7.5 to 1.7.6 #43

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
check-commit-message:
name: Check commit message for skipping build(s)
runs-on: ubuntu-latest
# skips CI and prints cli message, without fail build badge
if: contains(github.event.head_commit.message, '[skip ci]')
steps:
- name: print message via cli
run: echo "no need to build, based from commit message"
test:
runs-on: ubuntu-latest
strategy:
matrix:
typesense-version: [0.25.1]
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: '25'
elixir-version: '1.14.x'
- uses: actions/cache@v2
id: mix-cache
with:
path: |
deps
key: ${{ runner.os }}-mix-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-
- name: Start Typesense
uses: jirevwe/[email protected]
with:
typesense-version: ${{ matrix.typesense-version }}
typesense-api-key: xyz
- name: Install Dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
mix format --check-formatted
- name: Compile project
run: mix compile
- name: run static analysis
run: mix credo --all --strict
- name: Run tests
run: mix test