Skip to content

Use aliases for communication #90

Use aliases for communication

Use aliases for communication #90

Workflow file for this run

name: Erlang CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
container:
image: erlang:25
steps:
- uses: actions/checkout@v3
- name: Compile
run: rebar3 compile
- name: Run tests
run: rebar3 as test ct --sname=ct1 --cover
- name: Send test coverage report
run: rebar3 as test codecov analyze
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
dialyzer:
runs-on: ubuntu-latest
container:
image: erlang:25
steps:
- uses: actions/checkout@v3
- name: Compile
run: rebar3 compile
- name: Run dialyzer
run: rebar3 dialyzer
xref:
runs-on: ubuntu-latest
container:
image: erlang:25
steps:
- uses: actions/checkout@v3
- name: Compile
run: rebar3 compile
- name: Run xref
run: rebar3 xref
erlfmt:
runs-on: ubuntu-latest
container:
image: erlang:25
steps:
- uses: actions/checkout@v3
- name: Run erlfmt
run: rebar3 fmt --check