Skip to content

Fix CI

Fix CI #118

Workflow file for this run

name: CI
on:
push:
pull_request:
branches: [ $default-branch ]
release:
types:
- created
workflow_dispatch:
jobs:
ubuntu:
name: "Ubuntu"
runs-on: ubuntu-latest
strategy:
matrix:
otp: [24, 25, 26]
rebar: [3.22.1]
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
version-type: strict
otp-version: ${{matrix.otp}}
rebar3-version: ${{matrix.rebar}}
- name: Format check
run: rebar3 format --verify
- name: Tests
run: rebar3 test
windows:
name: "Windows"
runs-on: windows-latest
strategy:
matrix:
otp: [24, 25, 26]
rebar: [3.22.1]
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
version-type: strict
otp-version: ${{matrix.otp}}
rebar3-version: ${{matrix.rebar}}
- name: Tests
run: rebar3 test