simplify code #25
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: Eqwalize | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
build_and_test: | |
name: Run Eqwalizer | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
otp: ['25.3.2.3'] | |
rebar3: ['3.21.0'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install OTP and rebar3 | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
rebar3-version: ${{matrix.rebar3}} | |
- name: Install Partisan build dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install libssl-dev | |
- name: Install Eqwalizer and add it to path | |
uses: supplypike/setup-bin@v3 | |
with: | |
uri: https://github.com/WhatsApp/eqwalizer/releases/download/v0.17.16/elp-linux.tar.gz | |
name: 'elp' | |
run: | | |
curl -LJO $ELP_BIN && tar -xzf elp-linux.tar.gz | |
chmod +x elp | |
echo "$GITHUB_WORKSPACE/elp" >> $GITHUB_PATH | |
- name: Start epmd | |
run: epmd -daemon | |
- name: Build and run Eqwalizer | |
run: | | |
make eqwalizer |