feat: add fmt to plugin template #99
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: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/emqx/emqx-builder/5.3-5:1.15.7-26.2.1-2-ubuntu22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Create Plugin Project | |
run: | | |
mkdir -p ~/.config/rebar3/templates | |
cp -r . ~/.config/rebar3/templates | |
rebar3 new emqx-plugin my_emqx_plugin | |
- name: Xref | |
run: make -C my_emqx_plugin xref | |
- name: Make release | |
run: make -C my_emqx_plugin rel |