add prototyp.BigInt#SetUint64 and #SetBigInt, and upgrade gnark dep #2168
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
| on: [push] | |
| name: test | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.24.x | |
| - uses: actions/cache@v4 | |
| with: | |
| # In order: | |
| # * Module download cache | |
| # * Build cache (Linux) | |
| # * Build cache (Mac) | |
| # * Build cache (Windows) | |
| path: | | |
| ~/go/pkg/mod | |
| ~/.cache/go-build | |
| ~/Library/Caches/go-build | |
| %LocalAppData%\go-build | |
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-go- | |
| - name: Install node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '23.x' | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - uses: actions/cache@v4 | |
| id: pnpm-cache | |
| with: | |
| path: | | |
| ./testutil/testchain/node_modules | |
| ./testutil/testchain/*/*/node_modules | |
| key: ${{ runner.os }}-pnpm-${{ hashFiles('./testutil/testchain/**/package.json', './testutil/testchain/**/pnpm-lock.yaml') }} | |
| - name: pnpm install | |
| run: cd ./testutil/testchain && pnpm install | |
| if: ${{ steps.pnpm-cache.outputs.cache-hit != 'true' }} | |
| - name: Boot testchain | |
| run: make start-testchain-geth-verbose & | |
| - name: Wait for testchain to initialize | |
| run: | | |
| echo "Waiting for testchain to initialize..." | |
| sleep 15 | |
| curl -s http://localhost:8545 -H"Content-type: application/json" -X POST -d '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' || (echo "Testchain not ready"; exit 1) | |
| echo "Testchain is ready" | |
| - name: Test | |
| run: make test | |
| v3-workflow: | |
| name: Workflow for V3 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get Commit SHA | |
| run: echo "COMMIT_SHA=${{ github.event.pull_request.head.sha }}" | |
| - name: Trigger Private Workflow | |
| uses: actions/github-script@v6 | |
| # TODO: remove this once the private workflow is fixed | |
| continue-on-error: true | |
| with: | |
| script: | | |
| const { owner, repo } = context; | |
| const privateOwner = '0xsequence'; | |
| const privateRepo = 'sequence-v3'; | |
| const workflowId = 13719302078; | |
| const token = ${{ secrets.GITHUB_TOKEN }}; | |
| const octokit = new Octokit({ auth: token }); | |
| await octokit.rest.repos.createDispatchEvent({ | |
| owner: privateOwner, | |
| repo: privateRepo, | |
| workflow_id: workflowId, | |
| ref: 'main', | |
| inputs: { | |
| sdk_type: 'go', | |
| commit_hash: process.env.COMMIT_SHA | |
| } | |
| }); |