Skip to content

Commit 2e1d938

Browse files
committed
chore: simplify ci
1 parent 5c84d8c commit 2e1d938

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/check-chainspec.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,9 @@ jobs:
7272
key: ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
7373

7474
- name: Build chainspecs
75-
run: |
76-
rustup target add wasm32-unknown-unknown --toolchain nightly-2024-03-05-x86_64-unknown-linux-gnu
77-
rustup component add rust-src --toolchain nightly-2024-03-05-x86_64-unknown-linux-gnu
78-
./scripts/build_all_chainspecs.sh
75+
run: ./scripts/build_all_chainspecs.sh
7976

8077
- uses: stefanzweifel/git-auto-commit-action@v5
78+
name: Commit any updated chainspecs
8179
with:
8280
commit_message: Update chainspecs

scripts/build_all_chainspecs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
echo "*** Building node..."
4-
cargo +nightly-2024-03-05 build
4+
cargo build
55

66
echo "*** Building chainspecs..."
77
./target/debug/node-subtensor build-spec --raw --chain finney >raw_spec_finney.json

0 commit comments

Comments
 (0)