Skip to content

Commit fb8ce6a

Browse files
authored
Merge pull request #1296 from opentensor/sam-fix-try-runtime
fix try-runtime triggers and endpoint
2 parents 7bcb158 + 7cb9a59 commit fb8ce6a

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/check-rust.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
9494
9595
- name: Utilize Shared Rust Cache
96-
uses: Swatinem/rust-cache@v2.2.1
96+
uses: Swatinem/rust-cache@v2
9797
with:
9898
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
9999

@@ -137,7 +137,7 @@ jobs:
137137
profile: minimal
138138

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

@@ -178,7 +178,7 @@ jobs:
178178
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
179179
180180
- name: Utilize Shared Rust Cache
181-
uses: Swatinem/rust-cache@v2.2.1
181+
uses: Swatinem/rust-cache@v2
182182
with:
183183
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
184184

@@ -217,7 +217,7 @@ jobs:
217217
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
218218
219219
- name: Utilize Rust shared cached
220-
uses: Swatinem/rust-cache@v2.2.1
220+
uses: Swatinem/rust-cache@v2
221221
with:
222222
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
223223

@@ -258,7 +258,7 @@ jobs:
258258
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
259259
260260
- name: Utilize Rust shared cached
261-
uses: Swatinem/rust-cache@v2.2.1
261+
uses: Swatinem/rust-cache@v2
262262
with:
263263
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
264264

.github/workflows/try-runtime.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Try Runtime
22

33
on:
44
pull_request:
5-
branches: [main, devnet-ready, devnet, testnet, finney]
6-
types: [labeled, unlabeled, synchronize]
75

86
env:
97
CARGO_TERM_COLOR: always
@@ -26,6 +24,7 @@ jobs:
2624

2725
check-testnet:
2826
name: check testnet
27+
# if: github.base_ref == 'testnet' || github.base_ref == 'devnet' || github.base_ref == 'main'
2928
runs-on: SubtensorCI
3029
steps:
3130
- name: Checkout sources
@@ -35,16 +34,18 @@ jobs:
3534
uses: "paritytech/[email protected]"
3635
with:
3736
runtime-package: "node-subtensor-runtime"
38-
node-uri: "wss://test.chain.opentensor.ai:443"
37+
node-uri: "wss://test-archive.dev.opentensor.ai:443"
3938
checks: "all"
4039
extra-args: "--disable-spec-version-check --no-weight-warnings"
4140

4241
check-finney:
4342
name: check finney
43+
if: github.base_ref == 'testnet' || github.base_ref == 'devnet' || github.base_ref == 'main'
4444
runs-on: SubtensorCI
4545
steps:
4646
- name: Checkout sources
4747
uses: actions/checkout@v4
48+
4849
- name: Run Try Runtime Checks
4950
uses: "paritytech/[email protected]"
5051
with:

.github/workflows/update-chainspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
5050
5151
- name: Utilize Shared Rust Cache
52-
uses: Swatinem/rust-cache@v2.2.1
52+
uses: Swatinem/rust-cache@v2
5353
with:
5454
key: ubuntu-latest-target/x86_64-unknown-linux-gnu
5555

0 commit comments

Comments
 (0)