name: go-test on: [push, pull_request] jobs: build: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v1 - uses: actions/setup-go@v2.1.3 with: go-version: '1.16' - name: test run: go test ./... -coverprofile=profile.cov - uses: shogo82148/actions-goveralls@v1.4.4 with: path-to-profile: profile.cov