From 9362c08657d1681240d70f923fc04642bbfecc0a Mon Sep 17 00:00:00 2001 From: Vality Bot Date: Mon, 11 Jul 2022 12:43:24 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20Synced=20local=20'.github/workfl?= =?UTF-8?q?ows/'=20with=20remote=20'workflows/proto/'=20(#42)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/erlang-pr.yml | 35 ++++++-------------------- .github/workflows/frontend-pr.yml | 2 +- .github/workflows/frontend-publish.yml | 2 +- 3 files changed, 10 insertions(+), 29 deletions(-) diff --git a/.github/workflows/erlang-pr.yml b/.github/workflows/erlang-pr.yml index 38a3288..ba70b5c 100644 --- a/.github/workflows/erlang-pr.yml +++ b/.github/workflows/erlang-pr.yml @@ -7,30 +7,11 @@ on: jobs: build: - name: Build and verify - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - uses: valitydev/action-setup-thrift@v1 - with: - thrift-version: "0.14.2.3" - - - 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 + uses: valitydev/erlang-workflows/.github/workflows/erlang-simple-build.yml@v1 + with: + otp-version: 24 + rebar-version: 3 + use-thrift: true + thrift-version: 0.14.2.3 + run-eunit: false + run-common-test: false diff --git a/.github/workflows/frontend-pr.yml b/.github/workflows/frontend-pr.yml index ab070ea..89c03b2 100644 --- a/.github/workflows/frontend-pr.yml +++ b/.github/workflows/frontend-pr.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: valitydev/action-frontend/setup@v0.1 - - uses: valitydev/action-setup-thrift@v1.0.0 + - uses: valitydev/action-setup-thrift@v1.0.1 - run: npm i # protocols don't always update the package-lock.json, so installing from package.json - name: Codegen run: npm run codegen diff --git a/.github/workflows/frontend-publish.yml b/.github/workflows/frontend-publish.yml index b3871c5..9294ba7 100644 --- a/.github/workflows/frontend-publish.yml +++ b/.github/workflows/frontend-publish.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: valitydev/action-frontend/setup@v0.1 - - uses: valitydev/action-setup-thrift@v1.0.0 + - uses: valitydev/action-setup-thrift@v1.0.1 - run: npm i # protocols don't always update the package-lock.json, so installing from package.json - name: Build run: npm run codegen