Repository navigation
Bump github.com/gagliardetto/solana-go from 1.12.0 to 1.23.0 #37
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: E2E | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| evm-e2e: | |
| name: EVM deposit and withdraw | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| cache-dependency-path: solidity/package-lock.json | |
| - name: Install Solidity deps | |
| working-directory: solidity | |
| run: npm ci | |
| - name: Run EVM e2e | |
| run: make evm-e2e | |
| solana-e2e: | |
| name: Solana deposit | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: actions/cache@v6 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| key: ${{ runner.os }}-cargo-solana-${{ hashFiles('solana/Cargo.lock') }} | |
| - name: Install build deps | |
| run: sudo apt-get update && sudo apt-get install -y pkg-config libssl-dev libudev-dev | |
| - name: Install Solana CLI | |
| run: | | |
| sh -c "$(curl -sSfL https://release.anza.xyz/v3.1.10/install)" | |
| echo "$HOME/.local/share/solana/install/active_release/bin" >> "$GITHUB_PATH" | |
| - name: Install Anchor CLI | |
| run: cargo install --git https://github.com/coral-xyz/anchor --tag v1.1.2 anchor-cli --locked | |
| - name: Install deps | |
| run: | | |
| (cd solidity && npm ci) | |
| (cd solana && npm ci) | |
| - name: Run Solana e2e | |
| run: make solana-e2e |