Skip to content

Prep for RC1

Prep for RC1 #175

Workflow file for this run

name: Hyperdrive Unit Tests
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout OSHA
uses: actions/checkout@v4
with:
repository: nodeset-org/osha
path: ./osha
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install OSHA Dependencies
working-directory: ./osha/hardhat
run: npm ci
- name: Run Hardhat
working-directory: ./osha/hardhat
run: npx hardhat node --port 8545 &
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22.7
- name: Run tests
env:
HARDHAT_URL: "http://localhost:8545"
CI: true
run: go test -p 1 ./...