Skip to content

fix: improve GetNonce method in C#, Swift and php, and add some test code #259

fix: improve GetNonce method in C#, Swift and php, and add some test code

fix: improve GetNonce method in C#, Swift and php, and add some test code #259

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
defaults:
run:
shell: bash
working-directory: golang
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.13, 1.14, 1.15, 1.16]
fail-fast: false
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Export Env
run: export GO111MODULE=on
- name: Build
run: go mod tidy
- name: Test
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./service/...
- name: CodeCov
run: bash <(curl -s https://codecov.io/bash) -cF golang