Install Rust in a hopefully less dumb way #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Multisig Repository | |
uses: actions/checkout@v2 | |
- name: Checkout Solana | |
uses: actions/checkout@v4 | |
with: | |
repository: solana-labs/solana | |
ref: 'v1.16.24' | |
path: 'solana' | |
- name: Add Solana to Path | |
run: echo "`pwd`/solana" >> $GITHUB_PATH | |
- name: Setup Node 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'npm' | |
- name: Setup Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Run Tests | |
run: npm run test |