mirror of
https://github.com/valitydev/damsel.git
synced 2024-11-06 01:35:19 +00:00
🔄 Synced local '.github/workflows/' with remote 'workflows/proto/' (#42)
This commit is contained in:
parent
33c5665571
commit
9362c08657
35
.github/workflows/erlang-pr.yml
vendored
35
.github/workflows/erlang-pr.yml
vendored
@ -7,30 +7,11 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build and verify
|
uses: valitydev/erlang-workflows/.github/workflows/erlang-simple-build.yml@v1
|
||||||
runs-on: ubuntu-latest
|
with:
|
||||||
steps:
|
otp-version: 24
|
||||||
- uses: actions/checkout@v3
|
rebar-version: 3
|
||||||
|
use-thrift: true
|
||||||
- uses: valitydev/action-setup-thrift@v1
|
thrift-version: 0.14.2.3
|
||||||
with:
|
run-eunit: false
|
||||||
thrift-version: "0.14.2.3"
|
run-common-test: false
|
||||||
|
|
||||||
- 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
|
|
||||||
|
2
.github/workflows/frontend-pr.yml
vendored
2
.github/workflows/frontend-pr.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: valitydev/action-frontend/setup@v0.1
|
- 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
|
- run: npm i # protocols don't always update the package-lock.json, so installing from package.json
|
||||||
- name: Codegen
|
- name: Codegen
|
||||||
run: npm run codegen
|
run: npm run codegen
|
||||||
|
2
.github/workflows/frontend-publish.yml
vendored
2
.github/workflows/frontend-publish.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: valitydev/action-frontend/setup@v0.1
|
- 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
|
- run: npm i # protocols don't always update the package-lock.json, so installing from package.json
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run codegen
|
run: npm run codegen
|
||||||
|
Loading…
Reference in New Issue
Block a user