Skip to content

L1-289: Use consts for calcs #4022

L1-289: Use consts for calcs

L1-289: Use consts for calcs #4022

---
name: PR commit
on:
merge_group:
pull_request:
branches:
- main
- 'release-*'
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
check-pr-title:
name: Check PR title
runs-on: ubuntu-20.04
steps:
- name: Check PR title
uses: Cardinal-Cryptography/github-actions/check-pr-title@v7
with:
pr-title: ${{ github.event.pull_request.title }}
regexp: '(A0|L1)-[0-9]+'
run-liminal-ci-cd:
if: contains(github.event.pull_request.labels.*.name, 'liminal-CI')
name: Run liminal checks on PR
uses: ./.github/workflows/_liminal-checks-on-pr.yml
code-formatting:
name: Check code formatting
uses: ./.github/workflows/_check-code-formatting.yml
check-cliain-build:
name: Check cliain build
# this is not directly needed, but in order to better pack self-hosted runners we run those
# two small in time jobs one after another
needs: [code-formatting]
uses: ./.github/workflows/_build-and-push-cliain.yml
with:
liminal-runtime: false
check-only: true
check-excluded-packages:
name: Check excluded packages
uses: ./.github/workflows/_check-excluded-packages.yml
unit-tests-and-static-checks:
name: Unit tests and clippy
uses: ./.github/workflows/_unit-tests-and-static-checks.yml
check-production-node-and-runtime:
name: Check production node and runtime
uses: ./.github/workflows/_check-production-node-and-runtime.yml
build-test-node-and-runtime:
name: Build test node and runtime
uses: ./.github/workflows/_build-test-node-and-runtime.yml
with:
ref: ${{ github.ref }}
build-aleph-e2e-client-image:
name: Build aleph-e2e-client image
uses: ./.github/workflows/_build-aleph-e2e-client-image.yml
with:
ref: ${{ github.ref }}
push: false
run-e2e-finalization-test:
name: Run e2e finalization test
needs: [build-test-node-and-runtime, build-aleph-e2e-client-image]
runs-on: ubuntu-20.04
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Run e2e test
uses: ./.github/actions/run-e2e-test
with:
test-case: finalization::finalization
# yamllint disable-line rule:line-length
aleph-e2e-client-image: ${{ needs.build-aleph-e2e-client-image.outputs.aleph-e2e-client-image }}