Skip to content

Bump ex_doc from 0.29.4 to 0.30.3 #236

Bump ex_doc from 0.29.4 to 0.30.3

Bump ex_doc from 0.29.4 to 0.30.3 #236

Workflow file for this run

name: Elixir CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
run-test:
name: Build and Test
runs-on: ubuntu-latest
env:
MIX_ENV: test
container:
image: elixir:1.14.2-alpine
services:
ravendb:
image: ravendb/ravendb
ports:
- 8080:8080
env:
RAVEN_Setup_Mode: "None"
RAVEN_License_Eula_Accepted: "true"
RAVEN_Security_UnsecuredAccessAllowed: "PublicNetwork"
steps:
- uses: technote-space/auto-cancel-redundant-job@v1
with:
EXCLUDE_MERGED: "true"
- name: Install Git/Curl/GNU Tar
run: apk add --no-cache curl tar git make gcc libc-dev g++
- name: Fix git permissions
run: git config --global --add safe.directory /__w/ravix/ravix
- uses: actions/checkout@v3
- name: Install Git client
run: apk add --no-cache git
- name: Build & Deps Cache
uses: actions/cache@v3
id: mix-deps
with:
path: |
_build
deps
key: ${{ runner.os }}-02-build-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-02-build-${{ hashFiles('mix.lock') }}
${{ runner.os }}-02-build-
- name: Install Mix and Rebar
run: mix local.hex --force && mix local.rebar --force
- name: Install dependencies
if: steps.mix-deps.outputs.cache-hit != 'true'
run: |
mix deps.get
mix compile --warnings-as-errors
- name: Lint (format, credo)
run: |
mix format --check-formatted
mix credo
- name: Run tests
env:
RAVENDB_URL: "http://ravendb:8080"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mix coveralls.github
run-dialyzer:
name: Run Dialyzer
runs-on: ubuntu-latest
env:
MIX_ENV: test
container:
image: elixir:1.14.2-alpine
services:
ravendb:
image: ravendb/ravendb
ports:
- 8080:8080
env:
RAVEN_Setup_Mode: "None"
RAVEN_License_Eula_Accepted: "true"
RAVEN_Security_UnsecuredAccessAllowed: "PublicNetwork"
steps:
- uses: technote-space/auto-cancel-redundant-job@v1
with:
EXCLUDE_MERGED: "true"
- name: Install Git/Curl/GNU Tar
run: apk add --no-cache curl tar git make gcc libc-dev g++
- name: Fix git permissions
run: git config --global --add safe.directory /__w/ravix/ravix
- uses: actions/checkout@v3
- name: Install Git client
run: apk add --no-cache git
- name: Build & Deps Cache
uses: actions/cache@v3
id: mix-deps
with:
path: |
_build
deps
key: ${{ runner.os }}-02-build-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-02-build-${{ hashFiles('mix.lock') }}
${{ runner.os }}-02-build-
- name: Dyalizer Cache
uses: actions/cache@v3
id: mix-dialyzer
with:
path: priv/plts
key: ${{ runner.os }}-02-dialyzer
restore-keys: |
${{ runner.os }}-02-dialyzer
- name: Install Mix and Rebar
run: mix local.hex --force && mix local.rebar --force
- name: Install dependencies
if: steps.mix-deps.outputs.cache-hit != 'true'
run: mix deps.get
- name: Run Dialyzer
run: mix dialyzer