File tree Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -53,19 +53,29 @@ jobs:
53
53
name : make check-idl
54
54
runs-on : ubuntu-latest
55
55
steps :
56
- - uses : actions/checkout@v4
57
- - uses : metadaoproject/setup-anchor@v2
56
+
58
57
with :
59
58
node-version : " 20.11.0"
60
- solana-cli-version : " 1.18.15"
61
- anchor-version : " 0.30.1"
59
+ - name : Cache Solana CLI tools
60
+ uses : actions/cache@v4
61
+ with :
62
+ path : |
63
+ ~/.cache/solana/
64
+ ~/.local/share/solana/
65
+ key : solana-cli-${{ runner.os }}-build-1.18.15
66
+ - name : Install Solana CLI tools
67
+ run : |
68
+ sh -c "$(curl -sSfL https://release.solana.com/v1.18.15/install)"
69
+ shell : bash
70
+ - name : Update PATH
71
+ run : echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
72
+ shell : bash
73
+ - name : Install Anchor
74
+ run :
npm i -g @coral-xyz/[email protected]
75
+ shell : bash
62
76
- name : Set default Rust toolchain
63
- run : rustup default nightly
77
+ run : rustup default stable
64
78
working-directory : ./solana
65
- - name : Pin setup-node to v3.8.2
66
-
67
- with :
68
- node-version : " 20.11.0"
69
79
- name : make check-idl
70
80
run : make check-idl
71
81
working-directory : ./solana
You can’t perform that action at this time.
0 commit comments