Skip to content

Commit

Permalink
Merge branch 'devnet-ready' into devnet_companion_refactor/hotkey_swap
Browse files Browse the repository at this point in the history
  • Loading branch information
distributedstatemachine committed Jun 24, 2024
2 parents 5ad3567 + 1692d24 commit 30e232a
Show file tree
Hide file tree
Showing 72 changed files with 105,901 additions and 256,644 deletions.
18 changes: 0 additions & 18 deletions .cargo-husky/hooks/prepare-commit-msg

This file was deleted.

71 changes: 71 additions & 0 deletions .github/workflows/update-chainspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Update Chainspecs

concurrency:
group: update-chainspec-${{ github.ref }}
cancel-in-progress: true

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

workflow_dispatch:
inputs:
verbose:
description: "Output more information when triggered manually"
required: false
default: ""

env:
CARGO_TERM_COLOR: always
VERBOSE: ${{ github.events.input.verbose }}

jobs:
update-chainspecs:
runs-on: SubtensorCI
permissions:
contents: write

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

- 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/toolchain@v1.0.6
with:
toolchain: ${{ matrix.rust-branch }}
components: rustfmt, clippy
profile: minimal

- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2.2.1
with:
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}

- name: Build chainspecs
run: ./scripts/build_all_chainspecs.sh

- uses: stefanzweifel/git-auto-commit-action@v5
name: Commit any updated chainspecs
with:
commit_message: Update chainspecs
Empty file removed CITATION.cft
Empty file.
Loading

0 comments on commit 30e232a

Please sign in to comment.