File tree Expand file tree Collapse file tree 4 files changed +9
-26
lines changed Expand file tree Collapse file tree 4 files changed +9
-26
lines changed Original file line number Diff line number Diff line change 5757 if : ${{ inputs.solana == 'true' }}
5858 uses : solana-program/actions/install-solana@v1
5959 with :
60- version : ${{ env.SOLANA_VERSION }}
60+ version : ${{ env.SOLANA_CLI_VERSION }}
6161 cache : true
6262
6363 - name : Install 'cargo-audit'
8888 if : ${{ contains(inputs.toolchain, 'lint') }}
8989 uses : dtolnay/rust-toolchain@master
9090 with :
91- toolchain : ${{ env.TOOLCHAIN_LINT }}
91+ toolchain : ${{ env.RUST_TOOLCHAIN_LINT }}
9292 components : miri
9393
9494 - name : Install 'cargo-spellcheck'
Original file line number Diff line number Diff line change 99 CACHE : true
1010
1111jobs :
12- spellcheck :
13- name : Spellcheck
14- runs-on : ubuntu-latest
15- steps :
16- - name : Git Checkout
17- uses : actions/checkout@v4
18-
19- - name : Setup Environment
20- uses : ./.github/actions/setup
21- with :
22- cargo-cache-key : cargo-spellcheck
23- components : spellcheck
24-
25- - name : cargo-spellcheck
26- run : ./make spellcheck
27-
2812 lint :
2913 name : Lint
3014 runs-on : ubuntu-latest
3721 with :
3822 cargo-cache-key : cargo-lint
3923 toolchain : format, lint
40- components : hack, miri
24+ components : hack, miri, spellcheck
4125
4226 - name : cargo-clippy
4327 run : ./make.sh clippy
5438 - name : cargo-miri
5539 run : ./make.sh miri
5640
41+ - name : cargo-spellcheck
42+ run : ./make.sh spellcheck
43+
5744 build :
5845 name : Build
5946 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -9,11 +9,7 @@ if [ ! -f "$MANIFEST_FILE" ]; then
99 exit 1
1010fi
1111
12- if [ ! -z " $RUST_TOOLCHAIN_LINT " ]; then
13- TOOLCHAIN=" +$RUST_TOOLCHAIN_LINT "
14- fi
15-
1612CHECK_ARGS=" --all-targets \
1713 --feature-powerset"
1814
19- cargo $TOOLCHAIN hack check --manifest-path $MANIFEST_FILE $CHECK_ARGS $@
15+ cargo hack check --manifest-path $MANIFEST_FILE $CHECK_ARGS $@
Original file line number Diff line number Diff line change 44
55# Export environment variables and functions.
66export RUST_TOOLCHAIN_BUILD=" 1.84.1"
7- export RUST_TOOLCHAIN_FORMAT=" nightly-2024-11-22 "
8- export RUST_TOOLCHAIN_LINT=" nightly-2024-11-22 "
7+ export RUST_TOOLCHAIN_FORMAT=" nightly-2025-02-16 "
8+ export RUST_TOOLCHAIN_LINT=" nightly-2025-02-16 "
99export RUST_TOOLCHAIN_TEST=" 1.84.1"
1010export SOLANA_CLI_VERSION=" 2.3.4"
1111export WORKING_DIR=$( cd $( dirname $0 ) && pwd)
You can’t perform that action at this time.
0 commit comments