Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

chore: divide workflows into reusable pieces #3

chore: divide workflows into reusable pieces

chore: divide workflows into reusable pieces #3

Workflow file for this run

name: Install Solana Test Validator
description: Downloads and caches an install of the latest Solana Test Validator
runs:
using: composite
steps:
- name: Get Test Validator Latest Release
id: get-test-validator-version
run: echo "version=$(./scripts/get-latest-validator-release-version.sh)" >> $GITHUB_OUTPUT
shell: bash
- name: Cache Test Validator
id: cache-test-validator
uses: actions/cache@v3
with:
path: .solana
key: ${{ runner.os }}-test-validator-${{ steps.get-test-validator-version.outputs.version }}
- name: Install Test Validator
if: steps.cache-test-validator.outputs.cache-hit != 'true'
run: scripts/setup-test-validator.sh