Skip to content

changed eth.CallFunc(f, contract, args...) to `eth.CallFunc(contrac… #272

changed eth.CallFunc(f, contract, args...) to `eth.CallFunc(contrac…

changed eth.CallFunc(f, contract, args...) to `eth.CallFunc(contrac… #272

Workflow file for this run

name: Go
on:
- push
jobs:
fmt_vet:
name: Fmt & Vet
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: go fmt
run: |
gofmt -s -d . > fmt.out
cat fmt.out
test -z $(cat fmt.out)
- name: go vet
run: go vet ./...
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: go test
run: go test -covermode atomic -coverprofile=covprofile ./...
- name: install goveralls
run: go install github.com/mattn/goveralls@latest
- name: send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=covprofile -service=github