mirror of
https://github.com/valitydev/configurations.git
synced 2024-11-06 01:45:23 +00:00
Use erlang-parallel-build for proto repos (#41)
This commit is contained in:
parent
ec96248ebd
commit
5421fd2c5a
@ -7,28 +7,9 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build and verify
|
uses: valitydev/erlang-workflows/.github/workflows/erlang-parallel-build.yml@v1
|
||||||
runs-on: ubuntu-latest
|
with:
|
||||||
steps:
|
otp-version: 24
|
||||||
- uses: actions/checkout@v2
|
rebar-version: 3
|
||||||
|
use-thrift: true
|
||||||
- uses: valitydev/action-setup-thrift@v1
|
thrift-version: 0.14.2.2
|
||||||
|
|
||||||
- uses: erlef/setup-beam@v1
|
|
||||||
id: beam
|
|
||||||
with:
|
|
||||||
otp-version: "24"
|
|
||||||
rebar3-version: "3.18"
|
|
||||||
|
|
||||||
- name: Restore PLT cache
|
|
||||||
uses: actions/cache@v3
|
|
||||||
id: plt-cache
|
|
||||||
with:
|
|
||||||
key: |
|
|
||||||
${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-plt
|
|
||||||
path: |
|
|
||||||
_build/default/rebar3_*_plt
|
|
||||||
|
|
||||||
- run: rebar3 compile
|
|
||||||
- run: rebar3 xref
|
|
||||||
- run: rebar3 dialyzer
|
|
||||||
|
Loading…
Reference in New Issue
Block a user