Skip to content

go.mod: update neo-go version #370

go.mod: update neo-go version

go.mod: update neo-go version #370

Workflow file for this run

name: Go
on: [push]
jobs:
test:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.14.x', '1.15.x', '1.16.x']
steps:
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -u -v golang.org/x/lint/golint
go mod tidy -v
- name: Linter
run: golint -set_exit_status ./...
- name: Tests
run: go test -coverprofile=coverage.txt -covermode=atomic ./...
- name: Codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: bash <(curl -s https://codecov.io/bash)