Skip to content

chore: divide workflows into reusable pieces #4

chore: divide workflows into reusable pieces

chore: divide workflows into reusable pieces #4

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