Skip to content

Commit

Permalink
add eqWAlizer to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tsloughter committed Apr 22, 2023
1 parent eafe427 commit a0f5add
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,35 @@ jobs:
run: rebar3 compile
- name: Dialyzer
run: rebar3 as dialyzer dialyzer

eqWAlizer:
name: EqWAlizer on OTP ${{ matrix.otp_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
otp_version: ['25.0.3']
rebar3_version: ['3.19.0']
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
rebar3-version: ${{ matrix.rebar3_version }}
version-type: 'strict'
- uses: actions/cache@v2
name: Cache
with:
path: |
_build
key: ${{ runner.os }}-build-${{ matrix.otp_version }}-${{ hashFiles('rebar.lock') }}-2
restore-keys: |
${{ runner.os }}-eqWAlizer-${{ matrix.otp_version }}-2-
- name: Download elp
run: |
wget https://github.com/WhatsApp/eqwalizer/releases/download/v0.15.13/elp-linux.tar.gz
tar xvf elp-linux.tar.gz
- name: Compile
run: rebar3 compile
- name: eqWAlizer
run: ./elp eqwalize-all

0 comments on commit a0f5add

Please sign in to comment.