Skip to content

Support multiline configuration values #216

Support multiline configuration values

Support multiline configuration values #216

Workflow file for this run

name: CI
on:
pull_request:
branches:
- 'main'
push:
branches:
- 'main'
jobs:
build-test:
name: Build and test on Erlang/OTP ${{ matrix.otp_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
otp_version: [26, 27, 28]
os: [ubuntu-latest, windows-latest]
env:
LATEST_OTP_RELEASE: 28
steps:
- uses: actions/checkout@v5
- uses: erlef/setup-beam@566deebc640988a494af16ecdf6f820fe0d3fea4
id: install-erlang
with:
otp-version: ${{ matrix.otp_version }}
rebar3-version: '3.25'
- name: Restore Dialyzer PLT files from cache
uses: actions/cache@v4
if: ${{ matrix.otp_version == env.LATEST_OTP_RELEASE && startsWith(matrix.os, 'ubuntu') }}
with:
path: _build/*/rebar3_*_plt
key: dialyzer-plt-cache-${{ steps.install-erlang.outputs.otp-version }}-${{ runner.os }}-${{ hashFiles('rebar.config*') }}
- name: Compile
run: rebar3 compile
- name: Test
run: rebar3 eunit --verbose
- name: Test (Unicode)
env:
ERL_FLAGS: '+pc unicode'
run: rebar3 eunit --verbose
- name: Dialyzer
continue-on-error: true # TODO FUTURE
if: ${{ matrix.otp_version == env.LATEST_OTP_RELEASE && startsWith(matrix.os, 'ubuntu') }}
run: rebar3 dialyzer