Skip to content

fix: fix release pipeline #147

fix: fix release pipeline

fix: fix release pipeline #147

Workflow file for this run

name: Erlang CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
## We purposely do not use docker image for building,
## thus verifying that .tool-versions is suitable for developing a plugin.
- name: Setup Erlang
uses: erlef/setup-beam@v1
with:
version-file: emqx-plugin-templates/.tool-versions
version-type: strict
- name: Check template code formatting
run: make fmt-template-check
- name: Check formatting of the project code (tests, rebar.config, etc)
run: make fmt-check
- name: Install rebar3 template
run: make install-rebar-template
- name: Build test plugins
run: make build-test-plugins
- name: Start EMQX
run: make up
- name: Run tests
run: make ct
- name: Stop EMQX
if: always()
run: make down