Update formatters with changes from OTP 26 #324
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 CI | |
on: [push, pull_request] | |
env: | |
ERL_FLAGS: "-enable-feature all" | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
otp: ['25', '26'] | |
rebar: ['3.24'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
id: setup-beam | |
with: | |
otp-version: ${{matrix.otp}} | |
rebar3-version: ${{matrix.rebar}} | |
- name: Restore _build | |
uses: actions/cache@v4 | |
with: | |
path: _build | |
key: _build-cache-for-os-${{runner.os}}-otp-${{steps.setup-beam.outputs.otp-version}}-rebar3-${{steps.setup-beam.outputs.rebar3-version}}-hash-${{hashFiles('rebar.lock')}} | |
- name: Restore rebar3's cache | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/rebar3 | |
key: rebar3-cache-for-os-${{runner.os}}-otp-${{steps.setup-beam.outputs.otp-version}}-rebar3-${{steps.setup-beam.outputs.rebar3-version}}-hash-${{hashFiles('rebar.lock')}} | |
- name: Run tests and verifications | |
run: rebar3 test |