mirror of
https://github.com/valitydev/dmt-client.git
synced 2024-11-06 01:15:22 +00:00
d8a4f490d4
* FIN-31: Bumps valitydev/damsel@ab292d9 and valitydev/dmt-core@19d8f57 * Adds creation timestamp support for cached snapshot building * Temporarily disables codecov report upload; fixes protocol and dialyzer warnings * Fixes linting after including prometheus as a dependency
41 lines
1.2 KiB
YAML
41 lines
1.2 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@v3
|
|
- 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.14
|
|
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
|
|
upload-coverage: false
|