fix: fix release pipeline #147
Workflow file for this run
This file contains hidden or 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: [ 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 | |