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 try-runtime triggers and endpoint #1296

Merged
merged 10 commits into from
Feb 18, 2025
10 changes: 5 additions & 5 deletions .github/workflows/check-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler

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

Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
profile: minimal

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

Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler

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

Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler

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

Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler

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

Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/try-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Try Runtime

on:
pull_request:
branches: [main, devnet-ready, devnet, testnet, finney]
types: [labeled, unlabeled, synchronize]

env:
CARGO_TERM_COLOR: always
Expand All @@ -26,6 +24,7 @@ jobs:

check-testnet:
name: check testnet
# if: github.base_ref == 'testnet' || github.base_ref == 'devnet' || github.base_ref == 'main'
runs-on: SubtensorCI
steps:
- name: Checkout sources
Expand All @@ -35,16 +34,18 @@ jobs:
uses: "paritytech/[email protected]"
with:
runtime-package: "node-subtensor-runtime"
node-uri: "wss://test.chain.opentensor.ai:443"
node-uri: "wss://test-archive.dev.opentensor.ai:443"
checks: "all"
extra-args: "--disable-spec-version-check --no-weight-warnings"

check-finney:
name: check finney
if: github.base_ref == 'testnet' || github.base_ref == 'devnet' || github.base_ref == 'main'
runs-on: SubtensorCI
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Run Try Runtime Checks
uses: "paritytech/[email protected]"
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-chainspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler

- name: Utilize Shared Rust Cache
uses: Swatinem/rust-cache@v2.2.1
uses: Swatinem/rust-cache@v2
with:
key: ubuntu-latest-target/x86_64-unknown-linux-gnu

Expand Down
Loading