Use aliases for communication #45
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: | |
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 ct --sname=ct1 | |
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 |