Get rid of charlist deprecation warnings in Elixir 1.17 #22
Workflow file for this run
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: Erlang | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
push: | |
branches: | |
- 'main' | |
jobs: | |
build: | |
name: Test Erlang on OTP ${{ matrix.otp_version }} and ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- otp_version: "25.3" | |
os: ubuntu-22.04 | |
rebar3_version: "3.20" | |
- otp_version: "22.3" | |
os: ubuntu-20.04 | |
rebar3_version: "3.18.0" | |
env: | |
OTP_VERSION: ${{ matrix.otp_version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{ matrix.otp_version }} | |
rebar3-version: ${{ matrix.rebar3_version }} | |
- uses: actions/cache@v2 | |
name: Cache | |
with: | |
path: | | |
_build | |
key: ${{ runner.os }}-build-erlang-${{ matrix.otp_version }}-${{ hashFiles(format('rebar.lock')) }}-1 | |
restore-keys: | | |
${{ runner.os }}-build-erlang-${{ matrix.otp_version }}-1- | |
- name: Compile | |
run: rebar3 compile | |
- name: Common Test tests | |
run: rebar3 ct --cover | |
- name: XRef | |
run: rebar3 xref |