Bump ex_doc from 0.31.2 to 0.32.2 #44
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |