Skip to content

update github template #109

update github template

update github template #109

Workflow file for this run

---
name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ci:
name: Run checks and tests over ${{matrix.otp_vsn}} and ${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:

Check failure on line 15 in .github/workflows/erlang.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/erlang.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
otp_vsn: ["20.3", "21.3", "22.2"
"21.0.9", "21.1.4", "21.2.7", "21.3.8.1",
"22.0.7", "22.2.8", "22.3.4",
"23.0.2", "23.2"]
rebar3: ["3.22.1"]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
rebar3-version: ${{matrix.rebar3}}
- run: |
apt-get -q update
apt-get -y install python3
apt-get -y install python3-pip
pip3 install httpbin
pip3 install gunicorn
gunicorn -b 127.0.0.1:8000 -b unix:httpbin.sock httpbin:app&
- run: rebar3 xref
- run: rebar3 eunit
- run: rebar3 dialyzer