Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix chainspec upgrade CI action #999

Merged
merged 3 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 3 additions & 17 deletions .github/workflows/update-chainspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ concurrency:
cancel-in-progress: true

on:
push:
branches: [main, testnet, staging, staging-ready]
pull_request:

workflow_dispatch:
inputs:
Expand All @@ -27,40 +26,27 @@ jobs:

strategy:
matrix:
rust-branch:
- nightly-2024-03-05
rust-target:
- x86_64-unknown-linux-gnu
os:
- ubuntu-latest
include:
- os: ubuntu-latest
env:
RELEASE_NAME: development
RUSTV: ${{ matrix.rust-branch }}
RUST_BACKTRACE: full
RUST_BIN_DIR: target/${{ matrix.rust-target }}
TARGET: ${{ matrix.rust-target }}
steps:
- name: Check-out repository under $GITHUB_WORKSPACE
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get update &&
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler

- name: Install Rust ${{ matrix.rust-branch }}
uses: actions-rs/[email protected]
with:
toolchain: ${{ matrix.rust-branch }}
components: rustfmt, clippy
profile: minimal

- name: Utilize Shared Rust Cache
uses: Swatinem/[email protected]
with:
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
key: ubuntu-latest-target/x86_64-unknown-linux-gnu

- name: Build chainspecs
run: ./scripts/build_all_chainspecs.sh
Expand Down
101,646 changes: 50,823 additions & 50,823 deletions plain_spec_finney.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions plain_spec_testfinney.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion raw_spec_testfinney.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"properties": {
"ss58Format": 42,
"tokenDecimals": 9,
"tokenSymbol": "TAO"
"tokenSymbol": "testTAO"
},
"forkBlocks": null,
"badBlocks": [],
Expand Down