This repository has been archived by the owner on May 3, 2024. It is now read-only.
Update README.md #580
This file contains 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
name: Build & Test | |
env: | |
SDK_ALCHEMY_KEY: ${{ secrets.SDK_ALCHEMY_KEY }} | |
THIRDWEB_SECRET_KEY: ${{ secrets.THIRDWEB_SECRET_KEY }} | |
on: [push, pull_request] | |
jobs: | |
tests: | |
name: "Build against Go ${{ matrix.os }}" | |
strategy: | |
matrix: | |
go-version: [1.16.x] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Use Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- name: Build | |
run: go build -v ./thirdweb | |
- name: Test | |
run: yarn add hardhat && make test |