Skip to content

fix ci

fix ci #9

Workflow file for this run

name: tests
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
name: Testing with Erlang/OTP ${{ matrix.otp }}
env:
REBAR_PROFILE: test
strategy:
fail-fast: false
matrix:
otp: ["26.1.2", "25.3.2.7"]
steps:
- uses: actions/checkout@v4
- name: Set up Erlang
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
rebar3-version: "3.22.1"
version-type: strict
- name: Install efmt
uses: bunopnu/use-efmt@v1.0.1
with:
version: "0.14.1"
- name: Restore Cache
uses: actions/cache@v3
with:
path: _build
key: erlang-${{ matrix.otp }}-${{ hashFiles('**/rebar.lock') }}-build
- name: Compile Project
run: make build
- name: Check Project
run: make check
- name: Run Tests
run: make test