3bd2fa71eb
Bumps the ci_dependencies group with 5 updates: | Package | From | To | | --- | --- | --- | | [benchmark-action/github-action-benchmark](https://github.com/benchmark-action/github-action-benchmark) | `1.20.7` | `1.21.0` | | [docker/build-push-action](https://github.com/docker/build-push-action) | `6.19.2` | `7.0.0` | | [docker/login-action](https://github.com/docker/login-action) | `3.7.0` | `4.0.0` | | [actions/setup-node](https://github.com/actions/setup-node) | `6.2.0` | `6.3.0` | | [tj-actions/changed-files](https://github.com/tj-actions/changed-files) | `47.0.4` | `47.0.5` | Updates `benchmark-action/github-action-benchmark` from 1.20.7 to 1.21.0 - [Release notes](https://github.com/benchmark-action/github-action-benchmark/releases) - [Changelog](https://github.com/benchmark-action/github-action-benchmark/blob/master/CHANGELOG.md) - [Commits](https://github.com/benchmark-action/github-action-benchmark/compare/4bdcce38c94cec68da58d012ac24b7b1155efe8b...a7bc2366eda11037936ea57d811a43b3418d3073) Updates `docker/build-push-action` from 6.19.2 to 7.0.0 - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/10e90e3645eae34f1e60eeb005ba3a3d33f178e8...d08e5c354a6adb9ed34480a06d141179aa583294) Updates `docker/login-action` from 3.7.0 to 4.0.0 - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/c94ce9fb468520275223c153574b00df6fe4bcc9...b45d80f862d83dbcd57f89517bcf500b2ab88fb2) Updates `actions/setup-node` from 6.2.0 to 6.3.0 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/6044e13b5dc448c55e2357c09f80417699197238...53b83947a5a98c8d113130e565377fae1a50d02f) Updates `tj-actions/changed-files` from 47.0.4 to 47.0.5 - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/7dee1b0c1557f278e5c7dc244927139d78c0e22a...22103cc46bda19c2b464ffe86db46df6922fd323) --- updated-dependencies: - dependency-name: benchmark-action/github-action-benchmark dependency-version: 1.21.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: ci_dependencies - dependency-name: docker/build-push-action dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: ci_dependencies - dependency-name: docker/login-action dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: ci_dependencies - dependency-name: actions/setup-node dependency-version: 6.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: ci_dependencies - dependency-name: tj-actions/changed-files dependency-version: 47.0.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: ci_dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
109 lines
3.9 KiB
YAML
109 lines
3.9 KiB
YAML
name: check-runtime-compatibility
|
|
|
|
# DISABLED: Pezkuwi does not have public RPC endpoints yet.
|
|
# Re-enable when public nodes are available at pezkuwichain.io
|
|
# To enable: remove 'if: false' from the job below
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
merge_group:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
isdraft:
|
|
uses: ./.github/workflows/reusable-isdraft.yml
|
|
preflight:
|
|
needs: isdraft
|
|
uses: ./.github/workflows/reusable-preflight.yml
|
|
|
|
check-runtime-compatibility:
|
|
runs-on: ${{ needs.preflight.outputs.RUNNER }}
|
|
# DISABLED until Pezkuwi public RPC endpoints are available
|
|
if: false # ${{ needs.preflight.outputs.changes_rust }}
|
|
timeout-minutes: 30
|
|
needs: [preflight]
|
|
container:
|
|
image: ${{ needs.preflight.outputs.IMAGE }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
network:
|
|
[
|
|
zagros,
|
|
asset-hub-zagros,
|
|
bridge-hub-zagros,
|
|
collectives-zagros,
|
|
coretime-zagros,
|
|
]
|
|
include:
|
|
- network: zagros
|
|
package: zagros-runtime
|
|
wasm: zagros_runtime.compact.compressed.wasm
|
|
uri: "wss://try-runtime-zagros.pezkuwichain.io:443"
|
|
- network: asset-hub-zagros
|
|
package: asset-hub-zagros-runtime
|
|
wasm: asset_hub_zagros_runtime.compact.compressed.wasm
|
|
uri: "wss://zagros-asset-hub-rpc.pezkuwichain.io:443"
|
|
- network: bridge-hub-zagros
|
|
package: bridge-hub-zagros-runtime
|
|
wasm: bridge_hub_zagros_runtime.compact.compressed.wasm
|
|
uri: "wss://zagros-bridge-hub-rpc.pezkuwichain.io:443"
|
|
- network: collectives-zagros
|
|
package: collectives-zagros-runtime
|
|
wasm: collectives_zagros_runtime.compact.compressed.wasm
|
|
uri: "wss://zagros-collectives-rpc.pezkuwichain.io:443"
|
|
- network: coretime-zagros
|
|
package: coretime-zagros-runtime
|
|
wasm: coretime_zagros_runtime.compact.compressed.wasm
|
|
uri: "wss://zagros-coretime-rpc.pezkuwichain.io:443"
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: Build Runtime
|
|
id: build-runtime
|
|
run: |
|
|
echo "---------- Building ${{ matrix.package }} runtime with on-chain-release-build ----------"
|
|
cargo build --release --locked -p ${{ matrix.package }} --features on-chain-release-build -q
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
|
with:
|
|
node-version: "24.x"
|
|
registry-url: "https://npm.pkg.github.com"
|
|
|
|
- name: Check Runtime Compatibility
|
|
id: check-compatibility
|
|
run: |
|
|
echo "---------- Checking runtime compatibility for ${{ matrix.network }} ----------"
|
|
npx @pezkuwi-api/check-runtime@latest problems ${{ matrix.uri }} --wasm ./target/release/wbuild/${{ matrix.package }}/${{ matrix.wasm }}
|
|
|
|
|
|
# name of this job must be unique across all workflows
|
|
# otherwise GitHub will mark all these jobs as required
|
|
confirm-runtime-compatibility-checks-passed:
|
|
runs-on: ubuntu-latest
|
|
name: All runtime compatibility checks passed
|
|
needs: [check-runtime-compatibility]
|
|
if: always() && !cancelled()
|
|
steps:
|
|
- run: |
|
|
tee resultfile <<< '${{ toJSON(needs) }}'
|
|
FAILURES=$(cat resultfile | grep '"result": "failure"' | wc -l)
|
|
if [ $FAILURES -gt 0 ]; then
|
|
echo "### At least one required job failed ❌" >> $GITHUB_STEP_SUMMARY
|
|
exit 1
|
|
else
|
|
echo '### Good job! All the required jobs passed 🚀' >> $GITHUB_STEP_SUMMARY
|
|
fi
|