Skip to content

fix: rename tx option #29

fix: rename tx option

fix: rename tx option #29

Workflow file for this run

name: Test Case
on:
pull_request:
branches:
- main
jobs:
run-tests:
runs-on: ubuntu-latest
env:
YOUR_PRIVATE_KEY: ${{ secrets.YOUR_PRIVATE_KEY }}
OPEN_PLATFORM_PRIVATE_KEY: ${{ secrets.OPEN_PLATFORM_PRIVATE_KEY }}
steps:
- name: Check out code
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set up Go environment
uses: actions/setup-go@v3
with:
go-version: '^1.21'
- name: Cache Go modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: go mod download
- name: Run tests
run: go test -v ./test/...