diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f19505..b3b6c48 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,6 +52,8 @@ jobs: path: | ~/.cargo/bin/substrate-node ~/.cargo/bin/eth-rpc + ~/.cargo/bin/polkadot + ~/.cargo/bin/polkadot-parachain key: polkadot-binaries-${{ matrix.os }}-${{ hashFiles('polkadot-sdk/.git') }} - name: Build substrate-node @@ -65,6 +67,18 @@ jobs: run: | cd polkadot-sdk cargo install --path substrate/frame/revive/rpc --bin eth-rpc + + - name: Build polkadot node + if: steps.cache.outputs.cache-hit != 'true' + run: | + cd polkadot-sdk + cargo install --path ./polkadot --force --locked + + - name: Build parachain node + if: steps.cache.outputs.cache-hit != 'true' + run: | + cd polkadot-sdk + cargo install --path ./templates/parachain/node --force --locked ci: name: CI on ${{ matrix.os }}