Skip to content

Testnet

Testnet #929

Workflow file for this run

name: Testnet
env:
OPERATOR_KEY: ${{ secrets.TESTNET_OPERATOR_KEY }}
OPERATOR_ID: ${{ secrets.TESTNET_OPERATOR_ID }}
HEDERA_NETWORK: "testnet"
on:
schedule:
- cron: '0 0 * * *'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Vet Examples
run: go vet ./examples/...
- name: Vet
run: go vet .
- name: Build
run: go build -v .
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- run: go test -v -timeout 9999s
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.50