Skip to content

Fix insert_many documentation typo (#239) #242

Fix insert_many documentation typo (#239)

Fix insert_many documentation typo (#239) #242

name: Elixir CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Compile and Test
timeout-minutes: 5
strategy:
matrix:
mongodb-version: ["5.0", "6.0"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.8.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
mongodb-replica-set: rs_1
- name: Read .tool-versions
uses: marocchino/tool-versions-action@v1
id: versions
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{steps.versions.outputs.elixir}}
otp-version: ${{ steps.versions.outputs.erlang}}
- name: Restore dependencies cache
uses: actions/cache@v2
with:
path: |
deps
_build
priv/plts
key: ${{ runner.os }}-mix-v1-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-v1-
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test --exclude ssl --exclude socket --exclude rs_required
- name: Run Credo
run: mix credo
- name: Check Formatting
run: mix format --check-formatted
if: always()