Skip to content

Commit

Permalink
attempt to fix GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
jasl committed Jun 30, 2024
1 parent 3b29527 commit bb40b51
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,31 @@
name: Setup environment

inputs:
cache:
description: Enable caching
default: "true"
node:
description: The Node.js version to install
required: true
solana:
description: The Solana version to install

runs:
using: "composite"
steps:
- name: Setup pnpm
uses: pnpm/action-setup@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.78.0
override: true
components: rustfmt, clippy
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.4.0
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node }}
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
shell: bash
- name: Install Solana
if: ${{ inputs.solana != '' }}
uses: metaplex-foundation/actions/install-solana@v1
with:
version: ${{ inputs.solana }}
cache: ${{ inputs.cache }}
- name: Install Protoc
uses: arduino/setup-protoc@v3
version: 1.18.15
cache: "true"

0 comments on commit bb40b51

Please sign in to comment.