Skip to content

Install to Polygon Mumbai, Sepolia and Mantle. #127

Install to Polygon Mumbai, Sepolia and Mantle.

Install to Polygon Mumbai, Sepolia and Mantle. #127

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.3
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: npm
cache-dependency-path: hardhat/package-lock.json
- name: Prepare
run: make prepare
- name: Build
run: |
make key > hardhat/.env
make build
- name: Archive
uses: actions/upload-artifact@v3
with:
path: |
bin
hardhat/artifacts
examples/artifacts
- name: Test
run: go test -v ./...