2022-02-11 11:38:49 +00:00
|
|
|
name: Erlang CI Checks
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'master'
|
|
|
|
- 'epic/**'
|
|
|
|
pull_request:
|
2022-07-12 11:47:04 +00:00
|
|
|
branches: ['**']
|
2022-02-11 11:38:49 +00:00
|
|
|
|
|
|
|
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
|
2024-09-24 08:02:41 +00:00
|
|
|
uses: valitydev/erlang-workflows/.github/workflows/erlang-parallel-build.yml@v1.0.15
|
2022-02-11 11:38:49 +00:00
|
|
|
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 }}
|
|
|
|
run-ct-with-compose: true
|
2024-05-15 13:40:12 +00:00
|
|
|
upload-coverage: false
|