Skip to content

Document custom headers feature in CHANGELOG #323

Document custom headers feature in CHANGELOG

Document custom headers feature in CHANGELOG #323

Workflow file for this run

name: docusign_elixir CI
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
# Earliest supported version
- elixir: "1.16.0"
otp: "26.0"
# Latest 1.16 series
- elixir: "1.16.3"
otp: "26.2"
# Latest 1.17 series
- elixir: "1.17.3"
otp: "27.1"
# Latest 1.18 series with OTP 27
- elixir: "1.18.1"
otp: "27.2"
# Latest 1.18 series with OTP 28
- elixir: "1.18.4"
otp: "28.0"
# Latest 1.19 series with OTP 28
- elixir: "1.19.2"
otp: "28.1.1"
steps:
- uses: actions/checkout@v3
- name: Install Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
# Standard caching pattern based on Phoenix Framework
- name: Cache deps
id: cache-deps
uses: actions/cache@v3
env:
cache-name: deps-v3
with:
path: deps
key: ${{ runner.os }}-mix-${{ env.cache-name }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('mix.lock', 'mix.exs') }}
restore-keys: |
${{ runner.os }}-mix-${{ env.cache-name }}-${{ matrix.elixir }}-${{ matrix.otp }}-
- name: Cache compiled build
id: cache-build
uses: actions/cache@v3
env:
cache-name: build-v3
with:
path: _build
key: ${{ runner.os }}-mix-${{ env.cache-name }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('mix.lock', 'mix.exs') }}
restore-keys: |
${{ runner.os }}-mix-${{ env.cache-name }}-${{ matrix.elixir }}-${{ matrix.otp }}-
# Only clean if cache not found
- name: Install Dependencies
run: |
if [ ! -d "deps" ]; then
echo "Cache not found, performing clean install"
mix local.hex --force
fi
mix deps.get
- name: Compile app
run: MIX_ENV=test mix compile --warnings-as-errors
- name: Run Tests
run: |
set +e
mix test --trace
- name: Check formatting
if: matrix.elixir == '1.19.2' && matrix.otp == '28.1.1'
run: mix format --check-formatted
- name: Run Dialyzer
if: matrix.elixir == '1.19.2' && matrix.otp == '28.1.1'
run: mix dialyzer