Skip to content

Commit b426b8b

Browse files
committed
fix: create test-svm-verified job
Signed-off-by: Reinis Martinsons <[email protected]>
1 parent 201e1d4 commit b426b8b

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/pr.yml

+32
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,38 @@ jobs:
8484
- name: Test svm-anchor
8585
shell: bash
8686
run: yarn test-svm
87+
test-svm-verified:
88+
name: Test verified SVM build
89+
runs-on: ubuntu-latest
90+
strategy:
91+
matrix:
92+
node:
93+
- 20
94+
steps:
95+
- name: Checkout repo
96+
uses: actions/checkout@v3
97+
- name: "Use Node ${{ matrix.node }}"
98+
uses: actions/setup-node@v3
99+
with:
100+
node-version: "${{ matrix.node }}"
101+
cache: yarn
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]
107+
with:
108+
anchor_version: ${{ steps.versions.outputs.anchor_version }}
109+
solana_version: ${{ steps.versions.outputs.solana_version }}
110+
node_version: 20
111+
- name: Install Cargo toolchain
112+
uses: actions-rs/toolchain@v1
113+
with:
114+
toolchain: stable
115+
profile: minimal
116+
components: rustc
117+
- name: Cache Cargo dependencies
118+
uses: Swatinem/rust-cache@v2
87119
forge:
88120
name: Forge
89121
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)