Update the ci for the revive-dev-node

This commit is contained in:
Omar Abdulla
2025-11-01 05:22:36 +03:00
parent 234e59bbea
commit ad20b99e0a
+11 -11
View File
@@ -51,22 +51,22 @@ jobs:
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: | path: |
~/.cargo/bin/substrate-node ~/.cargo/bin/revive-dev-node
~/.cargo/bin/eth-rpc ~/.cargo/bin/eth-rpc
key: polkadot-binaries-${{ matrix.os }}-${{ hashFiles('polkadot-sdk/.git') }} key: polkadot-binaries-${{ matrix.os }}-${{ hashFiles('polkadot-sdk/.git') }}-with-dev-node
- name: Build substrate-node - name: Build revive-dev-node
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
run: | run: |
cd polkadot-sdk cd polkadot-sdk
cargo install --locked --force --profile=production --path substrate/bin/node/cli --bin substrate-node --features cli cargo install --locked --force --profile=production --path substrate/frame/revive/dev-node/node --bin revive-dev-node
- name: Build eth-rpc - name: Build eth-rpc
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
run: | run: |
cd polkadot-sdk cd polkadot-sdk
cargo install --path substrate/frame/revive/rpc --bin eth-rpc cargo install --path substrate/frame/revive/rpc --bin eth-rpc
- name: Cache downloaded Polkadot binaries - name: Cache downloaded Polkadot binaries
id: cache-polkadot id: cache-polkadot
uses: actions/cache@v3 uses: actions/cache@v3
@@ -114,9 +114,9 @@ jobs:
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: | path: |
~/.cargo/bin/substrate-node ~/.cargo/bin/revive-dev-node
~/.cargo/bin/eth-rpc ~/.cargo/bin/eth-rpc
key: polkadot-binaries-${{ matrix.os }}-${{ hashFiles('polkadot-sdk/.git') }} key: polkadot-binaries-${{ matrix.os }}-${{ hashFiles('polkadot-sdk/.git') }}-with-dev-node
- name: Restore downloaded Polkadot binaries from cache - name: Restore downloaded Polkadot binaries from cache
uses: actions/cache@v3 uses: actions/cache@v3
@@ -211,8 +211,8 @@ jobs:
- name: Clippy - name: Clippy
run: make clippy run: make clippy
- name: Check substrate-node version - name: Check revive-dev-node version
run: substrate-node --version run: revive-dev-node --version
- name: Check eth-rpc version - name: Check eth-rpc version
run: eth-rpc --version run: eth-rpc --version
@@ -222,13 +222,13 @@ jobs:
- name: Check polkadot version - name: Check polkadot version
run: polkadot --version run: polkadot --version
- name: Check polkadot-parachain version - name: Check polkadot-parachain version
run: polkadot-parachain --version run: polkadot-parachain --version
- name: Check polkadot-execute-worker version - name: Check polkadot-execute-worker version
run: polkadot-execute-worker --version run: polkadot-execute-worker --version
- name: Check polkadot-prepare-worker version - name: Check polkadot-prepare-worker version
run: polkadot-prepare-worker --version run: polkadot-prepare-worker --version