Skip to content

.gitignore: remove sequence (matches cmd/sequence) #1362

.gitignore: remove sequence (matches cmd/sequence)

.gitignore: remove sequence (matches cmd/sequence) #1362

Workflow file for this run

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/chain/node_modules
./testutil/chain/*/*/node_modules
key: ${{ runner.os }}-pnpm-${{ hashFiles('./testutil/chain/**/package.json', './testutil/chain/**/pnpm-lock.yaml') }}
- name: pnpm install
run: cd ./testutil/chain && pnpm install
if: ${{ steps.pnpm-cache.outputs.cache-hit != 'true' }}
- name: Boot testchain
run: make start-testchain-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