Skip to content

Update go.mod (9 modules) #100

Update go.mod (9 modules)

Update go.mod (9 modules) #100

Workflow file for this run

##
## Unit Tests & Coverage
##
name: test
on:
pull_request:
types:
- opened
- synchronize
jobs:
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: "1.21"
- uses: actions/[email protected]
- name: go build
run: |
go build ./...
- name: go test
run: |
go test -v -coverprofile=profile.cov $(go list ./... | grep -v /examples/)
env:
## GOPATH required to build serverless app inside unittest
GOPATH: /home/runner/work/${{ github.event.repository.name }}/go
- uses: shogo82148/actions-goveralls@v1
continue-on-error: true
with:
path-to-profile: profile.cov