add event workflow_dispatch #31
Workflow file for this run
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" ] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: erlang:24 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Compile | |
run: rebar3 compile | |
- name: Run dialyzer | |
run: rebar3 dialyzer | |
- name: Run linter | |
run: rebar3 lint | |
- name: Run tests | |
run: rebar3 eunit --cover | |
- name: Run cover | |
run: rebar3 cover -m 100 |