Prepare for 1.3.0 release #71
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: docusign_elixir CI | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: "27.2" | |
elixir-version: "1.18.1" | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
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 deps.get | |
- name: Cache build | |
uses: actions/cache@v3 | |
with: | |
path: _build | |
key: ${{ runner.os }}-mix-build-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | |
restore-keys: | | |
${{ runner.os }}-mix-build- | |
- name: Compile app | |
run: MIX_ENV=test mix compile --warnings-as-errors | |
- name: Run Tests | |
run: | | |
set +e | |
mix test --trace | |
- name: Check formatting | |
run: mix format --check-formatted |