mirror of
https://github.com/valitydev/wapi-lib.git
synced 2024-11-06 10:15:17 +00:00
6ef54003e9
* added currency ref
* reverted lock
* Revert "reverted lock"
This reverts commit e588ce86ec
.
* changed branches to refs in swag deps
* fixed format
* removed cowboy_cors dep
* removed cors lock
* changed workflow version
* added crypto wallet code decode test
* removed unused deps
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
name: Erlang CI Checks
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
- 'epic/**'
|
|
pull_request:
|
|
branches: ['**']
|
|
|
|
jobs:
|
|
setup:
|
|
name: Load .env
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
otp-version: ${{ steps.otp-version.outputs.version }}
|
|
rebar-version: ${{ steps.rebar-version.outputs.version }}
|
|
thrift-version: ${{ steps.thrift-version.outputs.version }}
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
- run: grep -v '^#' .env >> $GITHUB_ENV
|
|
- id: otp-version
|
|
run: echo "::set-output name=version::$OTP_VERSION"
|
|
- id: rebar-version
|
|
run: echo "::set-output name=version::$REBAR_VERSION"
|
|
- id: thrift-version
|
|
run: echo "::set-output name=version::$THRIFT_VERSION"
|
|
|
|
run:
|
|
name: Run checks
|
|
needs: setup
|
|
uses: valitydev/erlang-workflows/.github/workflows/erlang-parallel-build.yml@v1.0.3
|
|
with:
|
|
otp-version: ${{ needs.setup.outputs.otp-version }}
|
|
rebar-version: ${{ needs.setup.outputs.rebar-version }}
|
|
use-thrift: true
|
|
thrift-version: ${{ needs.setup.outputs.thrift-version }}
|