Skip to content

Commit c18216e

Browse files
committed
Merge branch 'master' into pablo/acx-3907-fill-test-with-lookup-table
2 parents b60b1ed + cfe639d commit c18216e

File tree

19 files changed

+1448
-1199
lines changed

19 files changed

+1448
-1199
lines changed

.github/workflows/pr.yml

+28-25
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ jobs:
1616
with:
1717
node-version: "${{ matrix.node }}"
1818
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]
2124
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
2828
- name: Install Cargo toolchain
2929
uses: actions-rs/toolchain@v1
3030
with:
31-
toolchain: nightly-2025-04-01
31+
toolchain: nightly
3232
profile: minimal
33-
components: rustc
33+
components: rustc, rustfmt
3434
- 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
3636
- name: Lint js
3737
shell: bash
3838
run: yarn lint-js
@@ -57,19 +57,19 @@ jobs:
5757
with:
5858
node-version: "${{ matrix.node }}"
5959
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]
6265
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
6969
- name: Install Cargo toolchain
7070
uses: actions-rs/toolchain@v1
7171
with:
72-
toolchain: nightly-2025-04-01
72+
toolchain: stable
7373
profile: minimal
7474
components: rustc
7575
- name: Cache Cargo dependencies
@@ -99,12 +99,15 @@ jobs:
9999
with:
100100
node-version: "${{ matrix.node }}"
101101
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]
104107
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
108111
- name: Install packages
109112
run: yarn install --frozen-lockfile
110113
- name: Install Foundry

.github/workflows/publish.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,15 @@ jobs:
2323
id: release
2424
uses: manovotny/[email protected]
2525
# Setup Anchor to enable compilation and export of Solana programs
26-
- name: Setup Anchor & Build
27-
uses: metadaoproject/setup-anchor@v2
26+
- name: Extract Solana versions
27+
uses: solana-developers/github-actions/[email protected]
28+
id: versions
29+
- name: Setup Anchor & Solana
30+
uses: solana-developers/github-actions/[email protected]
2831
with:
29-
anchor-version: "0.30.1"
30-
solana-cli-version: "1.18.21"
31-
node-version: "20.17.0"
32+
anchor_version: ${{ steps.versions.outputs.anchor_version }}
33+
solana_version: ${{ steps.versions.outputs.solana_version }}
34+
node_version: 20
3235
# - run: anchor build
3336
# Setup .npmrc file to publish to npm
3437
- uses: actions/setup-node@v3

0 commit comments

Comments
 (0)