Skip to content

chore: refactoring local gh action (#12) #56

chore: refactoring local gh action (#12)

chore: refactoring local gh action (#12) #56

Workflow file for this run

name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
container: erlang:21
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Rebar cache
uses: actions/cache@v3
with:
path: |
~/.cache/rebar3
_build
key: ${{ runner.os }}-erlang-${{ env.OTP_VERSION }}-${{ hashFiles('**/*rebar.lock') }}
restore-keys: |
${{ runner.os }}-erlang-${{ env.OTP_VERSION }}-
- name: Dialyzer
run: rebar3 dialyzer
- name: Run tests
run: make ct