Skip to content

Implement construction of ESDT transfers (2) #222

Implement construction of ESDT transfers (2)

Implement construction of ESDT transfers (2) #222

Workflow file for this run

name: Code-coverage
on:
push:
branches:
- main
pull_request:
branches: [ main, feat/* ]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
runs-on: [ubuntu-latest]
runs-on: ${{ matrix.runs-on }}
name: Build
steps:
- name: Set up Go 1.18
uses: actions/setup-go@v3
with:
go-version: 1.18
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Run unit tests
run: |
go test -short -cover -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage
run: bash <(curl -s https://codecov.io/bash) -f coverage.txt -y codecov.yml