@@ -5,16 +5,10 @@ concurrency:
55 cancel-in-progress : true
66
77on :
8- # # Run automatically for all PRs against main, regardless of what the changes are
9- # # to be safe and so we can more easily force re-run the CI when github is being
10- # # weird by using a blank commit
118 push :
12- branches : [main, development, staging ]
9+ branches : [main, devnet-ready, devnet, testnet, finney ]
1310
14- # #
15- # Run automatically for PRs against default/main branch if Rust files change
1611 pull_request :
17- branches : [main, development, staging]
1812
1913 # # Allow running workflow manually from the Actions tab
2014 workflow_dispatch :
5650 TARGET : ${{ matrix.rust-target }}
5751 steps :
5852 - name : Check-out repository under $GITHUB_WORKSPACE
59- uses : actions/checkout@v2
53+ uses : actions/checkout@v4
6054
6155 - name : Install dependencies
6256 run : sudo apt-get update && sudo apt-get install -y build-essential
9791 TARGET : ${{ matrix.rust-target }}
9892 steps :
9993 - name : Check-out repository under $GITHUB_WORKSPACE
100- uses : actions/checkout@v2
94+ uses : actions/checkout@v4
10195
10296 - name : Install dependencies
10397 run : |
@@ -193,7 +187,7 @@ jobs:
193187 TARGET : ${{ matrix.rust-target }}
194188 steps :
195189 - name : Check-out repository under $GITHUB_WORKSPACE
196- uses : actions/checkout@v2
190+ uses : actions/checkout@v4
197191
198192 - name : Install dependencies
199193 run : |
@@ -242,7 +236,7 @@ jobs:
242236 TARGET : ${{ matrix.rust-target }}
243237 steps :
244238 - name : Check-out repository under $GITHUB_WORKSPACE
245- uses : actions/checkout@v2
239+ uses : actions/checkout@v4
246240
247241 - name : Install dependencies
248242 run : |
@@ -291,7 +285,7 @@ jobs:
291285 TARGET : ${{ matrix.rust-target }}
292286 steps :
293287 - name : Check-out repository under $GITHUB_WORKSPACE
294- uses : actions/checkout@v2
288+ uses : actions/checkout@v4
295289
296290 - name : Install dependencies
297291 run : |
@@ -338,62 +332,19 @@ jobs:
338332 run : cargo install --locked -q zepter && zepter --version
339333
340334 - name : Checkout
341- uses : actions/checkout@v3
335+ uses : actions/checkout@v4
342336 with :
343337 fetch-depth : 0 # Dont clone historic commits.
344338
345339 - name : Check features
346340 run : zepter run check
347341
348- check-chainspecs :
349- runs-on : SubtensorCI
350- name : check chainspecs build
351- strategy :
352- matrix :
353- rust-branch :
354- - nightly-2024-03-05
355- rust-target :
356- - x86_64-unknown-linux-gnu
357- os :
358- - ubuntu-latest
359- include :
360- - os : ubuntu-latest
361- env :
362- RELEASE_NAME : development
363- RUSTV : ${{ matrix.rust-branch }}
364- RUST_BACKTRACE : full
365- RUST_BIN_DIR : target/${{ matrix.rust-target }}
366- TARGET : ${{ matrix.rust-target }}
367- steps :
368- - name : Check-out repository under $GITHUB_WORKSPACE
369- uses : actions/checkout@v2
370-
371- - name : Install dependencies
372- run : |
373- sudo apt-get update &&
374- sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
375-
376- - name : Install Rust ${{ matrix.rust-branch }}
377- uses :
actions-rs/[email protected] 378- with :
379- toolchain : ${{ matrix.rust-branch }}
380- components : rustfmt, clippy
381- profile : minimal
382-
383- - name : Utilize Shared Rust Cache
384- 385- with :
386- key : ${{ matrix.os }}-${{ env.RUST_BIN_DIR }}
387-
388- - name : Check chainspecs build
389- run : ./scripts/build_all_chainspecs.sh
390-
391342 check-finney-migrations :
392343 name : check finney migrations
393344 runs-on : SubtensorCI
394345 steps :
395346 - name : Checkout sources
396- uses : actions/checkout@v3
347+ uses : actions/checkout@v4
397348
398349 - name : Run Try Runtime Checks
399350 uses :
" paritytech/[email protected] "
0 commit comments