Skip to content

Update dependency erlang to v27.1.2 (#45) #115

Update dependency erlang to v27.1.2 (#45)

Update dependency erlang to v27.1.2 (#45) #115

Workflow file for this run

---
name: CI
"on":
push:
branches:
- main
pull_request:
branches:
- "*"
workflow_dispatch: {}
jobs:
ci:
name: CI
strategy:
fail-fast: false
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: erlef/setup-beam@5304e04ea2b355f03681464e683d92e3b2f18451 # v1.18.2
with:
version-type: strict
version-file: .tool-versions
- name: top-level CI
run: |
rebar3 ci
- name: example-level CI
run: |
pushd example
rebar3 ci
popd
- name: check formatting
run: |
rebar3 fmt --check
- name: test the example release
run: |
sudo apt-get -y update
sudo apt-get -y install shelltestrunner
pushd example
rebar3 release
_build/default/rel/simpler_cowboy_rest_example/bin/simpler_cowboy_rest_example daemon
popd
shelltest tests/example.test