Skip to content

Buy_now set Next_public_api_key env variable as BaseURL #7369

Buy_now set Next_public_api_key env variable as BaseURL

Buy_now set Next_public_api_key env variable as BaseURL #7369

Workflow file for this run

name: testnet
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on: [push, pull_request, workflow_dispatch]
# This workflow makes x86_64 binaries for mac, windows, and linux.
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64, arm64]
targetos: [darwin, linux]
name: pylons ${{ matrix.arch }} for ${{ matrix.targetos }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.18'
env:
GOOS: ${{ matrix.targetos }}
GOARCH: ${{ matrix.arch }}
# we build and install in case we want to run it or capture an artifact as we do in the step below.
# we also start a chain, so that if we can't do that we know we've failed and move on
- name: testnet
run: |
cd cmd/*
go build .
timeout 240 ./pylonsd testnet start --enable-logging