Skip to content

Commit b6a8df6

Browse files
committed
fix ci
1 parent 0f17afa commit b6a8df6

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

.github/workflows/ci-lazer-anchor.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Lazer Solana contract test"
1+
name: "Lazer Anchor contract test"
22
on:
33
push:
44
branches:
@@ -20,8 +20,9 @@ jobs:
2020
- uses: actions-rust-lang/setup-rust-toolchain@v1
2121
with:
2222
toolchain: 1.82.0
23-
- name: install taplo
24-
run: cargo install --locked taplo-cli@0.9.3
23+
- uses: actions/setup-node@v4
24+
with:
25+
node-version: 22
2526
# Libusb is a build requirement for the node-hid package and so pnpm
2627
# install will fail if this isn't in the build environment and if a
2728
# precompiled binary isn't found.
@@ -30,6 +31,7 @@ jobs:
3031
- uses: pnpm/action-setup@v4
3132
name: Install pnpm
3233
with:
34+
version: 10
3335
run_install: true
3436
- name: Install Solana Cli
3537
run: |
@@ -45,4 +47,4 @@ jobs:
4547
rustup install nightly-2025-04-15
4648
RUSTFLAGS= cargo +1.79.0 install --git https://github.com/coral-xyz/anchor --tag v0.30.1 --locked anchor-cli
4749
- name: Run anchor tests
48-
run: anchor test
50+
run: pnpm run anchor:test

lazer/solana-anchor/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lazer/solana-anchor/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2-
"license": "ISC",
2+
"license": "ISC",
33
"scripts": {
44
"lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w",
5-
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check"
5+
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check",
6+
"test:anchor": "CARGO_TARGET_DIR=\"$PWD/target\" RUSTUP_TOOLCHAIN=nightly-2025-04-15 anchor test"
67
},
78
"dependencies": {
89
"@coral-xyz/anchor": "^0.30.1"

lazer/solana-anchor/rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.79.0
1+
1.82.0

0 commit comments

Comments
 (0)