Skip to content

Fix Arbitrum, Ethereum and Starknet #55

Fix Arbitrum, Ethereum and Starknet

Fix Arbitrum, Ethereum and Starknet #55

Workflow file for this run

name: Spec Tests
on:
pull_request:
paths:
- "mainnet-1/specs/*.json"
- "testnet-2/specs/*.json"
# Optionally allow manual triggers
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Current Repository
uses: actions/checkout@v4
- name: Checkout Lava Repository
uses: actions/checkout@v4
with:
repository: lavanet/lava
path: lava
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.23"
- name: Copy specs to lava
run: |
rm -rf lava/specs
mkdir -p lava/specs/mainnet-1
mkdir -p lava/specs/testnet-2
cp -r $GITHUB_WORKSPACE/mainnet-1/specs lava/specs/mainnet-1/specs
cp -r $GITHUB_WORKSPACE/testnet-2/specs lava/specs/testnet-2/specs
- name: Run Tests
working-directory: lava/x/spec/keeper
run: go test -v -run TestSpecs