build(deps-dev): bump @polkadot/typegen from 9.14.2 to 14.2.2 in /creditcoin-js #2190
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Check Runtime and Extrinsics | |
# This CI checks for changes in Creditcoin runtime and extrinsic ordering | |
# Controls when the action will run. | |
on: | |
pull_request: | |
branches: [dev] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
permissions: read-all | |
jobs: | |
run_extrinsics: | |
name: Extrinsics | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Node Dependencies | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm install --ignore-scripts -g @polkadot/metadata-cmp | |
- name: Set-Up | |
run: | | |
sudo apt-get update | |
sudo apt install -y cmake pkg-config libssl-dev git build-essential clang libclang-dev curl protobuf-compiler | |
- name: Configure rustc version | |
run: | | |
RUSTC_VERSION=$(grep channel rust-toolchain.toml | tail -n1 | tr -d " " | cut -f2 -d'"') | |
echo "RUSTC_VERSION=$RUSTC_VERSION" >> "$GITHUB_ENV" | |
- name: Install Rust toolchain | |
uses: gluwa/toolchain@dev | |
with: | |
toolchain: ${{ env.RUSTC_VERSION }} | |
target: wasm32-unknown-unknown | |
profile: minimal | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
- name: Build Release | |
uses: gluwa/cargo@dev | |
with: | |
command: build | |
args: --release | |
- name: Run Extrinsics Ordering | |
shell: bash | |
run: | | |
./scripts/check-extrinsics.sh | |
#Upload logs if nodes are not connecting. | |
#head-node.log and release-node.log are created in ./scripts/check-extrinsics.sh | |
- name: Upload logs | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
if-no-files-found: warn | |
name: "extrinsic-logs" | |
path: | | |
head-node.log | |
release-node.log | |
metadata-cmp-with-mainnet.txt | |
metadata-cmp-with-testnet.txt |