Skip to content

Commit c69f2b1

Browse files
committed
attempt to fix GHA
1 parent 3b29527 commit c69f2b1

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

.github/actions/setup/action.yml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
11
name: Setup environment
22

3-
inputs:
4-
cache:
5-
description: Enable caching
6-
default: "true"
7-
node:
8-
description: The Node.js version to install
9-
required: true
10-
solana:
11-
description: The Solana version to install
12-
133
runs:
144
using: "composite"
155
steps:
16-
- name: Setup pnpm
17-
uses: pnpm/action-setup@v3
6+
- name: Install pnpm
7+
uses: pnpm/action-setup@v4
8+
with:
9+
version: 9.4.0
10+
run_install: false
1811
- name: Setup Node.js
1912
uses: actions/setup-node@v4
2013
with:
21-
node-version: ${{ inputs.node }}
14+
node-version: 20
2215
cache: "pnpm"
2316
- name: Install dependencies
2417
run: pnpm install --frozen-lockfile
2518
shell: bash
2619
- name: Install Solana
27-
if: ${{ inputs.solana != '' }}
2820
uses: metaplex-foundation/actions/install-solana@v1
2921
with:
30-
version: ${{ inputs.solana }}
31-
cache: ${{ inputs.cache }}
22+
version: 1.18.15
23+
cache: "true"
3224
- name: Install Protoc
3325
uses: arduino/setup-protoc@v3
26+
- name: Install Rust
27+
uses: actions-rs/toolchain@v1
28+
with:
29+
toolchain: 1.78.0
30+
override: true
31+
components: rustfmt, clippy

0 commit comments

Comments
 (0)