This repository was archived by the owner on Sep 8, 2026. It is now read-only.
feat(validator-debt): add overrides option to validator debt payment #795
Workflow file for this run
This file contains hidden or 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: local-validator | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| env: | |
| SOLANA_CLI: v2.3.9 | |
| jobs: | |
| test-doublezero-solana-clean: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check disk space before cleanup | |
| run: df -h | |
| - name: Free disk space | |
| run: | | |
| sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL | |
| sudo docker image prune --all --force | |
| sudo docker builder prune -a --force | |
| - name: Check disk space after cleanup | |
| run: df -h | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Solana toolchain | |
| run: | | |
| sh -c "$(curl -sSfL https://release.anza.xyz/$SOLANA_CLI/install)" | |
| echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH | |
| - name: Generate ~/.config/solana/id.json | |
| run: solana-keygen new --silent --no-bip39-passphrase | |
| - name: Start Solana mainnet-beta fork in background | |
| run: cargo run --bin doublezero-solana-fork -- -um --reset --god-mode > /dev/null 2>&1 & | |
| - name: Build DoubleZero Solana | |
| run: cargo build --bin doublezero-solana | |
| - name: Run DoubleZero Solana tests | |
| run: bash sh/test_doublezero_solana_clean.sh |