@@ -16,23 +16,23 @@ jobs:
16
16
with :
17
17
node-version : " ${{ matrix.node }}"
18
18
cache : yarn
19
- - name : Setup Anchor & Build
20
- uses : metadaoproject/setup-anchor@v2
19
+ - name : Extract Solana versions
20
+ uses :
solana-developers/github-actions/[email protected]
21
+ id : versions
22
+ - name : Setup Anchor & Solana
23
+ uses :
solana-developers/github-actions/[email protected]
21
24
with :
22
- anchor-version : 0.30.1
23
- solana-cli-version : 1.18.21
24
- node-version : 20
25
- - name : Create keypair
26
- run : solana-keygen new --no-bip39-passphrase
27
- shell : bash
25
+ anchor_version : ${{ steps.versions.outputs.anchor_version }}
26
+ solana_version : ${{ steps.versions.outputs.solana_version }}
27
+ node_version : 20
28
28
- name : Install Cargo toolchain
29
29
uses : actions-rs/toolchain@v1
30
30
with :
31
- toolchain : nightly-2025-04-01
31
+ toolchain : nightly
32
32
profile : minimal
33
- components : rustc
33
+ components : rustc, rustfmt
34
34
- name : Install packages
35
- run : yarn install --frozen-lockfile && rustup component add --toolchain nightly-2025-04-01-x86_64-unknown-linux-gnu rustfmt
35
+ run : yarn install --frozen-lockfile
36
36
- name : Lint js
37
37
shell : bash
38
38
run : yarn lint-js
@@ -57,19 +57,19 @@ jobs:
57
57
with :
58
58
node-version : " ${{ matrix.node }}"
59
59
cache : yarn
60
- - name : Setup Anchor & Build
61
- uses : metadaoproject/setup-anchor@v2
60
+ - name : Extract Solana versions
61
+ uses :
solana-developers/github-actions/[email protected]
62
+ id : versions
63
+ - name : Setup Anchor & Solana
64
+ uses :
solana-developers/github-actions/[email protected]
62
65
with :
63
- anchor-version : 0.30.1
64
- solana-cli-version : 1.18.21
65
- node-version : 20
66
- - name : Create keypair
67
- run : solana-keygen new --no-bip39-passphrase
68
- shell : bash
66
+ anchor_version : ${{ steps.versions.outputs.anchor_version }}
67
+ solana_version : ${{ steps.versions.outputs.solana_version }}
68
+ node_version : 20
69
69
- name : Install Cargo toolchain
70
70
uses : actions-rs/toolchain@v1
71
71
with :
72
- toolchain : nightly-2025-04-01
72
+ toolchain : stable
73
73
profile : minimal
74
74
components : rustc
75
75
- name : Cache Cargo dependencies
@@ -99,12 +99,15 @@ jobs:
99
99
with :
100
100
node-version : " ${{ matrix.node }}"
101
101
cache : yarn
102
- - name : Setup Anchor & Build
103
- uses : metadaoproject/setup-anchor@v2
102
+ - name : Extract Solana versions
103
+ uses :
solana-developers/github-actions/[email protected]
104
+ id : versions
105
+ - name : Setup Anchor & Solana
106
+ uses :
solana-developers/github-actions/[email protected]
104
107
with :
105
- anchor-version : 0.30.1
106
- solana-cli-version : 1.18.21
107
- node-version : 20
108
+ anchor_version : ${{ steps.versions.outputs.anchor_version }}
109
+ solana_version : ${{ steps.versions.outputs.solana_version }}
110
+ node_version : 20
108
111
- name : Install packages
109
112
run : yarn install --frozen-lockfile
110
113
- name : Install Foundry
0 commit comments