Skip to content

Non-Zero Realm

Non-Zero Realm #54

# SPDX-License-Identifier: Apache-2.0
name: "Non-Zero Realm"
on:
schedule:
- cron: "0 0 * * *" # Daily at midnight
workflow_dispatch:
inputs:
branch:
description: "Branch"
required: true
type: string
defaults:
run:
shell: bash
permissions:
contents: read
env:
LC_ALL: C.UTF-8
CGO_ENABLED: 1
jobs:
build:
name: Build
env:
HIERO_MIRROR_COMMON_REALM: 127
HIERO_MIRROR_COMMON_SHARD: 113
runs-on: hiero-mirror-node-linux-large
strategy:
fail-fast: false
matrix:
project:
- common
- graphql
- grpc
- importer
- monitor
- rest
- rest-java
- rosetta
- web3
timeout-minutes: 40 # increase it from 20 minutes since some jobs often run longer on self-hosted runners
steps:
- name: Harden Runner
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
with:
egress-policy: audit
- name: Checkout Code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }}
- name: Install JDK
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: temurin
java-version: 25
- name: Setup Gradle
uses: gradle/actions/setup-gradle@f29f5a9d7b09a7c6b29859002d29d24e1674c884 # v4
- name: Execute Gradle
run: ./gradlew :${{matrix.project}}:build